Michael Moon wrote:
> I have installed mod_perl 1.3 and Apache 1.39 on a CentOS 5 system in
> order get Request Tracker running. When I attempt to start apache I get
> the following error:
> Syntax error on line 969 of /usr/local/apache/conf/httpd.conf: Can't
> locate Apache/DBI.pm in @INC

This means you're trying to use Apache:BI without having it installed.

> I have located the file in the following directories:
> /opt/.cpan/build/Apache-Session-1.84-Ad18Dp/Session/Store/DBI.pm
> /opt/.cpan/build/Apache-Session-1.84-Ad18Dp/blib/lib/Apache/Session/Store/DBI.pm
> /usr/lib/perl5/site_perl/5.8.8/Apache/Session/Store/DBI.pm

That's Apache::Session::Store:BI

> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm

That's DBI

> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Bundle/DBI.pm

And that's Bundle:BI. None of which are Apache:BI.

> I have tried copying the file to
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache directory.

Well, obviously just copying random files into random places isn't going to make
things work.

Apache:BI is an addon module and does not come by default with mod_perl. Use
the CPAN shell to install it.

Michael Peters
Plus Three, LP