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 P.S. Here is the out put of perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=freebsd, osvers=4.2-release, archname=i386-freebsd uname='freebsd www.jhanna.com 4.2-release freebsd 4.2-release #0: mon nov 20 13:02:55 gmt 2000 [EMAIL PROTECTED]:usrsrcsyscompilegeneric i386 ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lc -lcrypt -liconv -lutil perllibs=-lm -lc -lcrypt -liconv -lutil libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under freebsd Compiled at Jul 25 2002 11:42:13 @INC: /usr/local/lib/perl5/5.6.1/i386-freebsd /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.6.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl Here is the output of httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c mod_access.c mod_auth.c mod_expires.c mod_headers.c mod_setenvif.c mod_ssl.c mod_php4.c mod_frontpage.c mod_perl.c