[CentOS] CentOS4 and Apache-DBI

Tue Sep 20 22:10:58 UTC 2005
Will McDonald <wmcdonald at gmail.com>

On 20/09/05, David Hiltz <dhiltz at whsun1.wh.whoi.edu> wrote:
> Has anybody gotten Apache-DBI to work under CentOS4?
> 
> My installed rpms are:
>   httpd-2.0.52-12.1.ent.centos4      (came with CentOS4)
>   mod_perl-1.99_16-4.centos4         (came with CentOS4)
>   perl-Apache-DBI-0.94-1.2.el4.rf    (from Dag's site)
>      --this includes Apache::DBI and Apache::AuthDBI
>
>  ..but when I restart Apache I get:
> 
> -----------------------------------------------------------------------------
> Can't locate Apache/Constants.pm in @INC...
> ...
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/vendor_perl/5.8.5/Apache/AuthDBI.pm line 21.
> ...
> Can't load Perl module Apache::AuthDBI
> -----------------------------------------------------------------------------


Have you got perl-DBI from the CentOS repos installed too? 

It's highly unlikely that Apache 2 won't work with anything that's
supplied by CentOS/RH.

rpm -qp --requires perl-Apache-DBI-0.94-1.2.el4.rf.noarch.rpm
perl(Carp)
perl(DBI)
perl(constant)
perl(strict)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1


Will.