-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I'm trying to get Apache::DB working, but currently, I am failing. I
have used it previously with perl 5.6.1, but I have upgraded to 5.8 and
I can't get it to work.
Other mod_perl stuff works fine (I recompiled mod_perl and apache after
upgrading Perl).
the error I get is,
[mac47gbcri:/opt/local] mike% sudo ./sbin/httpd -X -D PERLDB
[notice] Apache::DB initialized in child 29483
[Tue Nov 5 17:27:55 2002] [error] No DB::DB routine defined at
/opt/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 4.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 4.
Compilation failed in require at /opt/local/lib/perl5/5.8.0/Exporter.pm
line 16.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/site_perl/5.8.0/darwin/DBI.pm line 243.
Compilation failed in require at
/opt/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 4.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 4.
Compilation failed in require at /opt/local/etc/apache/startup.pl line
6.
BEGIN failed--compilation aborted at /opt/local/etc/apache/startup.pl
line 6.
Compilation failed in require at (eval 6) line 1.
Syntax error on line 55 of /opt/local/etc/apache/local.conf:
No DB::DB routine defined at
/opt/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 4.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 4.
Compilation failed in require at /opt/local/lib/perl5/5.8.0/Exporter.pm
line 16.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/site_perl/5.8.0/darwin/DBI.pm line 243.
Compilation failed in require at
/opt/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 4.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 4.
Compilation failed in require at /opt/local/etc/apache/startup.pl line
6.
BEGIN failed--compilation aborted at /opt/local/etc/apache/startup.pl
line 6.
Compilation failed in require at (eval 6) line 1.
A similar error is produced no matter what module I try and use when in
my startup.pl, or if I don't use that, when the first script is
compiled.
Perhaps Exporter wasn't built properly (and thus presumably, the rest
of perl), or Perl 5.8.0 doesn't get on with Apache::DB, or?
thanks in advance
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9yHDfilk3LUlIL0MRAg9jAKDEXui79Kk/T6ytvu0mHq2pi29K3ACg2rYD
HieYfzJnos0r+iBnblR5Qbc=
=zW0O
-----END PGP SIGNATURE-----