[rt-users] RT w/ Apache2 on Mandrake Linux v9.2?

Scott Drumm denagoth at midsouth.rr.com
Sat Mar 13 08:24:52 EST 2004


Has anyone had any luck installing RT 3.0.9 on a linux distro running 
Apache v2.0 and mod_perl2?

I'm getting the "Can't locate Apache/Constants.pm" problem discussed on 
this list awhile back - I've tried updating my PERL5LIB path to include 
Constants.pm as well as adding "require Apache::compat if $CGI::MOD_PERL 
== 2;" to webmux.pl but have not had any success.  If someone's 
configured RT under this setup successfully, I'd sure appreciate knowing 
how you did so.  Thanks for the assist!

Reference Links:

    1.  
http://article.gmane.org/gmane.comp.bug-tracking.request-tracker.user/11113
    2.  http://lists.fsck.com/pipermail/rt-users/2003-October/018010.html

Startup w/o setting PERL5LIB path.....

    Starting httpd-perl:                                            [  OK  ]
    Starting httpd2: [Sat Mar 06 21:55:03 2004] [error] Can't locate 
loadable object for module Apache::Constants in @INC (@INC contains: 
/opt/rt3/local/lib /opt/rt3/lib 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl . /etc/httpd/2.0/ /etc/httpd/2.0/lib/perl) at 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm line 14
    Compilation failed in require at 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.
    BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.
    Compilation failed in require at /usr/lib/perl5/5.8.1/CGI.pm line 190.
    Compilation failed in require at /opt/rt3/bin/webmux.pl line 42.
    BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 42.
    Compilation failed in require at (eval 1) line 1.
    [Sat Mar 06 21:55:03 2004] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server nexus.tmx.com:0, exiting...

After adding 
"PERL5LIB=/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Apache/Constants.pm" 
to /etc/profile and exporting...

    Starting httpd2: [Sat Mar 06 21:59:30 2004] [error] Bareword 
"gensym" not allowed while "strict subs" in use at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Handle.pm line 307.
    BEGIN not safe after errors--compilation aborted at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Handle.pm line 597.
    Compilation failed in require at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Seekable.pm line 101.
    BEGIN failed--compilation aborted at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Seekable.pm line 101.
    Compilation failed in require at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/File.pm line 117.
    BEGIN failed--compilation aborted at 
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/File.pm line 117.
    Compilation failed in require at /usr/lib/perl5/5.8.1/FileHandle.pm 
line 9.
    Compilation failed in require at 
/usr/lib/perl5/vendor_perl/5.8.1/MIME/Entity.pm line 226.
    BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.8.1/MIME/Entity.pm line 226.
    Compilation failed in require at /opt/rt3/lib/RT/I18N.pm line 44.
    BEGIN failed--compilation aborted at /opt/rt3/lib/RT/I18N.pm line 44.
    Compilation failed in require at /opt/rt3/lib/RT.pm line 29.
    BEGIN failed--compilation aborted at /opt/rt3/lib/RT.pm line 29.
    Compilation failed in require at /opt/rt3/bin/webmux.pl line 38.
    BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 38.
    Compilation failed in require at (eval 1) line 1.
    [Sat Mar 06 21:59:30 2004] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server nexus.tmx.com:0, exiting...


---
Scott Drumm
Denagoth at midsouth.rr.com




More information about the rt-users mailing list