Hello everone, I was running Peerl 5.6.0, Apache 1.3.4, and mod_perl 1.27 on a FreeBSD server. I upgraded to Perl 5.6.1, and since then I have been having a few problems with DBI:
1. If I add mod_perl to a site, the httpd server will not start. PerlModule Apache::Registry <Location "/cgi-bin/register"> AddHandler perl-script .cgi .pl PerlHandler Apache::Registry::handler PerlModule Apache::DBI Options +ExecCGI PerlSendHeader On </Location> ../apachectl configtest Syntax error on line 1483 of /web/apache/conf/httpd.conf: Can't locate object method "bootstrap" via package "DBI" at /usr/lib/perl5/site_perl/5.6.0/i386-freebsd/DBI.pm line 236. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-freebsd/DBI.pm line 243. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 4. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 4. Compilation failed in require at (eval 7) line 3. 2. This one might not be related to DBI, but I can't find any answer for it anywhere! I see this error inmy eror log files: Argument "O_RDONLY" isn't numeric in subroutine entry at /usr/local/lib/perl5/5.6.1/i386-freebsd/DB_File.pm line 259. As a last note: I have tried renstalling all the DBI modules. I reinstalled mod_perl as well. It just doesn't solve the problem. The only thing I have not done is actually rebuild Apache with the new version of Perl. I don't want to do this, unless it's my last option! I don't want to mess anything else up :) I would really appreciate any help I can get on this. Soheil