Hey Helmut,

Yes, I'm sure its Apache::DBI - when I try to check for it directly via
"perl -MModule::Name", I get the error..

Where is a copy paste from the command line.

[chrisf@web1 chrisf]$ perl -MApache::DBI -e 0
Can't locate Apache/Constants.pm in @INC (@INC contains:
/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
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line 6.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line 6.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 3.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 3.
Compilation failed in require.
BEGIN failed--compilation aborted.
[chrisf@web1 chrisf]$

I get pretty much the same thing if I try to put it into my statup.pl,
scripts or httpd.conf.

Thanks
-Chris

>> -----Original Message-----
>> From: Dr. Helmut Zeilinger [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, February 14, 2003 9:26 AM
>> To: Chris Faust; Modperl
>> Subject: Re: Apache::DBI and mod_perl 2
>>
>>
>> Hi Chris,
>>
>> are you shure that is is the Apache::DBI, that needs the
>> Apache::Constants
>> or is it another module?
>> For me Apache::DBI loads without problems (2.044/1.9908/5.8)
>> even without
>> the
>> "use compat();" compatibility layer.
>>
>> Helmut
>>
>>
>> --On Friday, February 14, 2003 09:00:31 -0500 Chris Faust
>> <[EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>> >
>> > My problem seems like one that would be well documented, but I
>> can't find
>> > anything in any of the docs and even goggle groups only had one message
>> > and the solution didn't relate.
>> >
>> > Anyway, I've updated to RedHat 8.0 and Apache 2.0.44 with
>> Mod_Perl 1.99.08
>> > and if I try to use Apache::DBI I receive the error of:
>> >
>> > Can't locate Apache/Constants.pm in @INC ....
>> >
>> > I've learned in mod_perl 2 that Apache::Constants was replaced by 3 new
>> > classes (Apache::Const,APR::Const,Modperl::Const).
>> >
>> > But what do I do to get Apache::DBI to work?
>> > Am I missing something really simple here (I hope)?
>> >
>> > Thanks
>> > -Chris
>> >
>> >
>> >
>>


Reply via email to