[rt-users] Problems with ApacheDBI

Aleš Sušnik alesh at sportina.si
Tue Aug 12 02:27:25 EDT 2003


Dusan,

try running this command:

perl -MCPAN -e 'install DBI' 
and because i'm not sure if DBI is the correct thing you're missing try this
also:

perl -MPCAN -e 'install Apache::DBI'

Check carefully if make test passes all tests, if not, DBI will not install
itself, you have to force it by going to the .cpan directory in your home
dir, then to build dir, then to DBI dir and run make install.

Also you noted that you have installed perl 5.8.0, but you still have DBI.pm
in your 5.6.1 dir....

A.


-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of Dusan Djordjevic
Sent: Tuesday, August 12, 2003 8:04 AM
To: rt-users at lists.fsck.com
Subject: [rt-users] Problems with ApacheDBI


Hi all,

I installed RT on out-of-box FreeBSD 5.1. Since I had some problems, I 
was advised here to upgrade to Perl 5.8.0. So I upgraded everything on 
that box, so Perl shoul be up to date. But now when I try to start 
Apache, I receive this error message:

rt# /usr/local/etc/rc.d/apache2.sh start
[Tue Aug 12 11:58:02 2003] [error] Can't locate DBI.pm in @INC (@INC 
contains: /usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2 
/usr/local/lib/perl5/site_perl/5.6.1/mach 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach 
/usr/local/lib/perl5/5.6.1 . /usr/local/ /usr/local/lib/perl) at 
/usr/local/lib/perl5/site_perl/5.6.1/Apache/DBI.pm line 7.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.6.1/Apache/DBI.pm line 7.
Compilation failed in require at (eval 6) line 3.

[Tue Aug 12 11:58:02 2003] [error] Can't load Perl module Apache::DBI 
for server 192.168.0.80:0, exiting...

Any idea ?  
---------------------------------------------
Eng. Dusan Djordjevic (RHCE)   PlanetSky Ltd.
Tel: +357 22454896    *    Fax: +357-22518022
http://www.planetsky.com  dusan at planetsky.com

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm





More information about the rt-users mailing list