Thanks Martin, I haven't been able to make anymore progress on it and hard-coding paths is obviously not a good idea. :)
-- Jason On Monday 06 January 2003 17:34, Martin Edenhofer wrote: > Hi Jason, > > On Fri, Jan 03, 2003 at 03:00:16PM -0500, Jason McCormick wrote: > > Has anyone successfully gotten OTRS to work with Apache2 + mod_perl-2 > > (mod_perl-1.99_07)? I've finally conquered one problem and hit another. > > The > > I'm not. But I'll check this tomorrow. .) > > > first problem I had was not being able to run installer.pl. The > > error_log reported the following: > > > > [Thu Jan 02 16:55:37 2003] [error] 27204: ModPerl::Registry: Can't locate > > Kernel/Config.pm in @INC (@INC contains: //../..m > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at > > /opt/OpenTRS/bin/cgi-bin/installer.pl line 39. BEGIN failed--compilation > > aborted at /opt/OpenTRS/bin/cgi-bin/installer.pl line 39. > > > > If you look in this message the first include path is //../.. which is > > being returned from the following in installer.pl: > > > > # OTRS root directory > > use FindBin qw($Bin); > > use lib "$Bin/../.."; > > > > The 'use lib' statement is setting //../.. instead of > > /opt/OpenTRS/bin/cgi-bin/../.. which seems to me that mod_perl is > > thinking that the perl script is running from / to the webserver. So to > > combat this I [...] > > The $Bin should be the directory of the installer.pl. So @INC should be > like: [...] > Kernel/Config.pm in @INC (@INC contains: /opt/OpenTRS/bin/cgi-bin/../..m > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > [...] > > Maybe FindBin works not correctly with mod_perl2. I'll check this tomorrow. > > > Jason McCormick > > Martin -- Jason McCormick Network/Systems Administrator - Lexi-Comp, Inc. Ph: 330.656.0239 Fax: 330.656.4307 Email: [EMAIL PROTECTED] Public Key: http://bamboo.lexi.com/~jmccormick/public-keys.php _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
