[otrs] Update @INC in OTRS?
Jeff Baughn
jbaughn at ucla.edu
Tue Mar 6 17:43:50 GMT 2007
I have updated my Perl installation, but I can't seem to get OTRS
to recognize this. I was having problems getting mail using the
PostMaster.pl script, so I ran cat ../doc/test-email | ./PostMaster.pl
and got the following:
# cat ../doc/test-email-1.box | ./PostMaster.pl
ERROR: OTRS-PM-01 Perl: 5.8.0 OS: linux Time: Tue Mar 6 17:19:13 2007
Message: install_driver(mysql) failed: Can't locate loadable object
for module DBD::mysql
in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs
/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
(eval 47) line 3
Compilation failed in require at (eval 47) line 3, <PRODUCT> line 4.
Perhaps a module that DBD::mysql requires hasn't been fully installed
at /opt/otrs/Kernel/System/DB.pm line 191
Traceback (20129):
Module: ./PostMaster.pl (v1.19) Line: 131
The problem here is that when I run perl -V, my @INC shows up as:
@INC:
/usr/local/perl-5.8.7/lib/5.8.7/i686-linux
/usr/local/perl-5.8.7/lib/5.8.7
/usr/local/perl-5.8.7/lib/site_perl/5.8.7/i686-linux
/usr/local/perl-5.8.7/lib/site_perl/5.8.7
/usr/local/perl-5.8.7/lib/site_perl
.
How can I force OTRS to use the correct @INC variable?
Thank you in advance.
More information about the otrs
mailing list