Friday, May 27, 2011

RT4 on Ubuntu 10.04, part 1

I want to try RT4, but the pre-packaged version on Ubuntu 10.04 is RT3.8. What's a fella to do? Why, install from source, of course!

Download the tarball, extract (tar zxf, in case you were wondering :-) and do the configure dance (./configure --with-db-type=Pg)

Then there are some perl modules it needs. Some are available as packages, which are:

apt-get install build-essential
apt-get install libdatetime-perl
apt-get install libclass-returnvalue-perl
apt-get install libemail-address-perl
apt-get install libtext-quoted-perl libtext-wrapper-perl
apt-get install liblog-dispatch-perl libtree-simple-perl
apt-get install libtest-template-perl
apt-get install libtext-template-perl
apt-get install libuniversal-require-perl
apt-get install libnet-cidr-perl
apt-get install libdevel-globaldestruction-perl
apt-get install liblocale-maketext-lexicon-perl liblocale-maketext-fuzzy-perl
apt-get install libcss-squish-perl
apt-get install libregexp-common-perl
apt-get install libcache-simple-timedexpiry-perl
apt-get install libgraph-writer-graphviz-perl
apt-get install libhtml-scrubber-perl
apt-get install libmodule-versions-report-perl
apt-get install libgd-graph-perl libgd-graph3d-perl libgd-gd2-perl
apt-get install libnet-cidr-lite-perl
apt-get install libipc-run3-perl
apt-get install libtext-password-pronounceable-perl
apt-get install libfile-sharedir-perl
apt-get install libregexp-common-time-perl libregexp-copy-perl libregexp-optimizer-perl libregexp-shellish-perl libtie-regexphash-perl libppix-regexp-perl libregexp-assemble-perl
apt-get install libhtml-mason-perl
apt-get install libemail-mime-perl
apt-get install libmime-tools-perl libmime-perl libmime-lite-perl libmime-explode-perl libmime-encwords-perl libmime-charset-perllibemail-mime-creator-perl libemail-mime-createhtml-perl
apt-get install libmime-tools-perl libmime-perl libmime-lite-perl libmime-explode-perl libmime-encwords-perl libmime-charset-perl libemail-mime-creator-perl libemail-mime-createhtml-perl
apt-get install libdatetime-format-builder-perl
apt-get install libfcgi libfcgi-perl libfcgi-procmanager-perl
apt-get install libdbix-searchbuilder-perl
apt-get install libyaml-syck-perl
apt-get install libdbd-pg-perl



Then after all that, you'll need to configure CPAN:



/usr/bin/perl -MCPAN -e shell

Then run fixdeps to grab the remaining modules:

make fixdeps

That's as far as I've got so far, more fun to follow, I'm sure.

6 comments:

  1. Is RT4 working for you after these steps?

    Do you think if you install RT3.8 then Ubuntu would install all lib modules you installed manually for RT4?

    ReplyDelete
  2. RT4 - it's sort-of working, but I clearly need to do more work to get it doing anything useful.

    As for using RT3.8 to install modules: I suspect this would not work, as 4.0 seems to require quite recent versions of the modules, and possibly a few that weren't used in 3.8. Just a guess, though - you're welcome to try it and find out. Let me know if you do!

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. For who just wants to get it working quickly (evaluation purposes, for example): request-tracker4 is now available in squeeze-backports.
    Simply stick squeeze-backports in /etc/apt/sources.list and pull request-tracker4 with apt-get -t squeeze-backports install "request-tracker4"

    That's for Debian obviously. Unfortunately it's not available on Ubuntu yet, although an upstream update request seems to have been filed for it.

    (Blogspot needs comment editing..)

    ReplyDelete
  6. Hi,

    Thanks for the blog. It was short and apt. :)

    But i had a few errors while configuring Apache.
    Installing these packages removed the issue.

    apt-get install libplack-perl libjson-any-perl libregexp-ipv6-perl libregexp-common-net-cidr-perl \
    libtime-modules-perl libhtml-mason-psgihandler-perl libcgi-emulate-psgi-perl libapache-session-perl

    ReplyDelete