[rt-users] Can't locate Apache/DBI.pm in @INC
Randy Millis (Lists Acct.)
rmillisl at fse.enel.ucalgary.ca
Fri Mar 1 17:32:09 EST 2002
Thanks I'll try that.
----- Original Message -----
From: Alexander, John
To: 'Randy Millis (Lists Acct.)'
Sent: Friday, March 01, 2002 3:04 PM
Subject: RE: [rt-users] Can't locate Apache/DBI.pm in @INC
Randy,
You can also get rid of that HTTP::Date thing by installing libwww
perl -MCPAN -e 'install Bundle::LWP'
If that fails, you can go here:
http://search.cpan.org/search?dist=libwww-perl
and get it and do the gunzip, tar, perl Makefile.PL, make, make test, make install
John
-----Original Message-----
From: Randy Millis (Lists Acct.) [mailto:rmillisl at fse.enel.ucalgary.ca]
Sent: Friday, March 01, 2002 4:25 PM
To: Alexander, John
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] Can't locate Apache/DBI.pm in @INC
I did as you suggested:
-cut-
/usr/local/bin/perl -MCPAN -e 'install Apache::DBI'
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 01 Mar 2002 12:41:04 GMT
HTTP::Date not available
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Apache::DBI is up to date.
-cut-
And when I started again I got:
/etc/init.d/httpd start
Starting httpd: Syntax error on line 1465 of /etc/httpd/conf/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 3) line 3.
Any other ideas?
----- Original Message -----
From: Alexander, John
To: 'Randy Millis (Lists Acct.)'
Sent: Friday, March 01, 2002 2:11 PM
Subject: RE: [rt-users] Can't locate Apache/DBI.pm in @INC
/usr/local/bin/perl -MCPAN -e 'install Apache::DBI'
should do it. Substitue your perl path...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020301/6ecb9dea/attachment.htm>
More information about the rt-users
mailing list