I'm not sure exactly what you problem is, but I would venture to guess that
DBI is not installed?

Apache::DBI is different than DBI, thus you must have

Apache::DBI
DBI
DBD::database of choice (DBD::Oracle for you)

on your machine to take advantance of Apache::DBI

Anyway, if you already have DBI installed, I don't know... try to add the
line

PerlModule DBI

_after_ 

PerlModule Apache::DBI

and see if that helps.

--Geoff


> -----Original Message-----
> From: Jearanai Vongsaard [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 1:49 PM
> To:   [EMAIL PROTECTED]
> Cc:   [EMAIL PROTECTED]
> Subject:      DBI
> 
> I try to install DBI in my apache 1.3.9 and modperl 1.21 which I got the
> message like:
> 
> esip 305# perl Makefile.PL
> Writing Makefile for Apache::DBI
> esip 306# make
> Manifying blib/man3/Apache::DBI.3
> Manifying blib/man3/Apache::AuthDBI.3
> esip 307# make install
> Skipping /usr/freeware/lib/perl5/site_perl/5.005/Apache/DBI.pm (unchanged)
> Skipping /usr/freeware/lib/perl5/site_perl/5.005/Apache/AuthDBI.pm
> (unchanged)
> Skipping /usr/freeware/catman/u_man/man3/Apache::AuthDBI.3 (unchanged)
> Skipping /usr/freeware/catman/u_man/man3/Apache::DBI.3 (unchanged)
> Writing
> /usr/freeware/lib/perl5/site_perl/5.005/irix-n32/auto/Apache/DBI/.packlist
> Appending installation info to
> /usr/freeware/lib/perl5/5.00502/irix-n32/perllocal.pod
> esip 308# ls
> AuthDBI.pm    MANIFEST      Makefile.old  eg            traces.txt
> Changes       Makefile      README        pm_to_blib
> DBI.pm        Makefile.PL   blib          test.pl
> esip 309# pwd
> /opt/local/download/perlmodule/ApacheDBI-0.85
> 
> Then, I add a line in the httpd.conf "PerlModule Apache::DBI"
> 
> The problem is I couldn't start my apache because of these errors.
> 
> esip 91# apachectl start
> Syntax error on line 822 of /usr/local/apache/conf/httpd.conf:
> Can't locate loadable object for module DBI in @INC (@INC contains:
> /usr/freeware/lib/perl5/5.00502/irix-n32 /usr/freeware/lib/perl5/5.00502
> /usr/freeware/lib/perl5/site_perl/5.005/irix-n32
> /usr/freeware/lib/perl5/site_perl/5.005
> /usr/freeware/lib/perl5/sgi_perl/irix-n32
> /usr/freeware/lib/perl5/site_perl . /usr/local/apache/
> /usr/local/apache/lib/perl) at /usr/freeware/lib/perl5/site_perl/DBI.pm
> line 0
> BEGIN failed--compilation aborted at
> /usr/freeware/lib/perl5/site_perl/DBI.pm line 156.
> BEGIN failed--compilation aborted at
> /usr/freeware/lib/perl5/site_perl/5.005/Apache/DBI.pm line 4.
> 
> .//apachectl start: httpd could not be started
> esip 92# 
> 
> Do I have to recompile the modperl? What I have to do more? I have an
> ORACLE database so do I have to install DBD::Oracle in my machine?
> 
> --apple
> 
> 
> 
> 
> 
> 

Reply via email to