[rt-users] Perl install problems
Drew Barnes
barnesaw at ucrwcu.rwc.uc.edu
Tue Jul 19 14:53:40 EDT 2005
Miles Scruggs wrote:
>I'm having some issues getting rt installed on my box. I'm using apache
>2.0.51 on fedora core1 with Mod Perl 2
>
>
With mod_perl2, you can't rely on the standard 'make fixdeps' after
running configure. Re-run configure with the appropriate options, the
from the prompt run 'perl sbin/rt-test-dependencies --with-mysql
--with-modperl2 --install'
>I followed the Fedora core 1 install guide which I feel is lacking
>something.
>
>If I follow the guide to the letter then I get
>
>[Thu Jul 14 09:31:57 2005] [error] failed to resolve handler `RT::Mason'
>[Thu Jul 14 09:31:57 2005] [error] [client 66.62.165.53] Can't locate
>RT/Mason.pm in @INC (@INC contains:
>/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
>/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
>/usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
>/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
>/usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 8)
>line 3.\n
>
>While this doesn't stop apache from operating it doesn't let RT run either.I
>figured this came from the lack of
>
>PerlRequire /usr/local/rt3/bin/webmux.pl
>
>In the conf.d/rt.conf
>
>So I added that line, then I would get:
>
>[Thu Jul 14 09:02:30 2005] [error] Can't locate Apache.pm in @INC (@INC
>contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
>/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
>/usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
>/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
>/usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at
>/usr/lib/perl5/5.8.3/CGI.pm line 190.\nCompilation failed in require at
>/usr/local/rt3/bin/webmux.pl line 56.\nBEGIN failed--compilation aborted at
>/usr/local/rt3/bin/webmux.pl line 56.\nCompilation failed in require at
>(eval 1) line 1.\n
>[Thu Jul 14 09:02:30 2005] [error] Can't load Perl file:
>/usr/local/rt3/bin/webmux.pl for server rt.garnetweb.com:80, exiting...\n
>
>
>I'm really lost as to which way to proceed on this one. I installed your
>system about 2 years ago, and was pretty happy with it, and would like to
>get it running again.
>
>Here is my conf.d/rt.conf commented out lines just represent attempts to
>try different things. Thanks.
>
><VirtualHost IP:80>
> ServerName rt.host.com:80
> ServerAdmin "email at com.com"
> DocumentRoot /usr/local/rt3/share/html
>
> <IfModule mod_ssl.c>
> SSLEngine off
> </IfModule>
> # these four lines apply to Apache2+mod_perl2 only: {{{
> PerlSetVar MasonArgsMethod CGI
> PerlModule Apache2 Apache::compat
> RewriteEngine On
> RewriteRule ^(.*)/$ $1/index.html
> # }}}
>
> PerlModule Apache::DBI
> #PerlRequire /usr/local/rt3/bin/webmux.pl
> <Location />
> SetHandler perl-script
> PerlHandler ModPerl::Registry
> Options ExecCGI
> #PerlHandler RT::Mason
> </Location>
> <Directory /usr/local/rt3/share/html>
> Options -Includes +ExecCGI
> </Directory>
></VirtualHost>
>
>
>
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>
--
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati
More information about the rt-users
mailing list