RT on gentoo

I’m having a hard time getting RT to install on a gentoo system. If
anyone has any guidance, please let me know. I know there is no ebuild
(portage) for gentoo except for a half-baked one from July or so. I
used RT a few years back and don’t recall it being this hard to get
going, but I’m looking forward to using it again. Thanks.

I’m having a hard time getting RT to install on a gentoo system. If
anyone has any guidance, please let me know. I know there is no
ebuild
(portage) for gentoo except for a half-baked one from July or so. I
used RT a few years back and don’t recall it being this hard to get
going, but I’m looking forward to using it again. Thanks.

I just completed an install of RT 3.0.9 w/ MySQL on gentoo, but I
haven’t done too much testing to make sure it functions properly – I
know I can login, and that’s about it.

But I just followed the RT install guidelines, and they seemed to work.
The few difficulties I ran into:

  1. Statically compiling apache 1.3 w/ mod_perl. Lots o’ discussions on
    gentoo forums about doing this, and apparently it’s not really possible
    to do this through in ebuild. I went ahead and just emerged apache 1.3
    with mod_perl as a DSO, just purely out of curiosity in seeing what
    would happen.

  2. Perl modules, of course. Same kind of problems I had with Red Hat.
    I didn’t really use ebuilds for the perl modules, as they are not really
    up to date. So I manually CPAN’d all of them. A couple I had to
    manually compile and install. If I remember correctly, there was in
    issue with the mod_perl tests with Apache::Test and/or libapreq – the
    tests kept failing, I installed anyway, and all seems fine.

I think that’s about it.

ph.

Thanks for your reply. I’m using apache2, but that’s not even an issue yet.
I really want to do as much as I can via portage, and avoid CPAN.
I’m down to only 4 or so missing ebuilds.

gentoo is becoming quite popular these days and I think it would be a
good addition to the FAQ.

Patrick Hurley wrote:

I’m having a hard time getting RT to install on a gentoo system. If
anyone has any guidance, please let me know. I know there is no ebuild
(portage) for gentoo except for a half-baked one from July or so. I
used RT a few years back and don’t recall it being this hard to get
going, but I’m looking forward to using it again. Thanks.

I’ll give you some pointers that might help. Doing an ebuild for 3.0.9
might not be so hard using the work that already haas been done.

To deal with perl modules Gentoo has done something very interesting it, i.e.

g-cpan.pl MODULE

makes a .ebuild and installs the module

(very similar tools are cpan2rpm for RPM, http://perl.arix.com/cpan2rpm/
and dh-make-perl for DEBs)

Pointers

*RT ebuild (for 3.0.1 and 3.0.4)
http://josiah.ritchietribe.net/RT.net-www.tar.gz
+CVS used for this package (development stop apparently)
http://cvs.extros.ca/cgi-bin/viewcvs.cgi/RT-Gentoo/net-www/

Hope this helps,

Paulo Matos

|Sys & Net Admin | Servi�o de Inform�tica |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |


Hi,

Our requestors regularly send in very large attachments in thre emails
and the database is getting fairly big.

What I would like to do is save attachments on the file system instead
of in the database, i.e. in:

/var/www/html/rt/attachments/[TicketId]/[TransactionId]/[AttachmentId]/filename

Then I could have the attachment URLs point directly to the file on disk
instead of in the database.

Has anyone ever modified RT in this fashion? I’m thinking it shouldn’t
be to hard, but maybe I’m wrong…

Patrick

Dan Simoes scripted ::

I’m having a hard time getting RT to install on a gentoo system. If
anyone has any guidance, please let me know. I know there is no
ebuild (portage) for gentoo except for a half-baked one from July or
so. I used RT a few years back and don’t recall it being this hard
to get going, but I’m looking forward to using it again. Thanks.

I just did it and I (flickerfly) was largely involved in that
half-baked version (it was pretty bad). Just too many depends. That’s
one of the few failings of Portage IMHO. They don’t seem to want to
integrate it with CPAN and they don’t keep the modules up-to-date.
Eventually I’ll learn enough of something to get it done for myself.

Your best bet is to just use CPAN and get what you need from there.
Gentoo doesn’t have the right versions of thing and if you do get some
installed, you’ll be consistently asked to downgrade until they get
them, which for most hasn’t happened for almost a year now.

If you read the README on RT, there is a script that will check
depends and install what it can’t find. There was one I had to do in
CPAN manually. I also had to use Apache 1.3 and mod_perl 1.27, but I
got both out of Portage after some convincing. RT and Perl Mods are
the only thing I did outside of Portage.

Anyway, it’s very possible. I’ve actually had it running on three
different Gentoo systems at this point. I’ve put issues in and out. I
haven’t been terribly deep in my testing, but no problems. I’m working
on getting Exchange to keep from blocking messages to postfix on my
network and than get NT Domain/AD Authentication working and this’ll
be ready for handling real work.

It’s been kinda a side project until last week or so.

JSR/