Package: libapache-mod-perl
Version: 1.29.0.2-4
Summary: Apache2 can't locate loadable object for module
Apache::Constants
System: Debian sarge
Kernel: Linux 2.4.21-5-686
Description:
I'm trying to install RRFW (http://rrfw.sf.net/) on Debian.
RRFW requires apache2/modperl so I have installed the
corresponding .deb's and apache2/modperl starts nicely
without RRFW.
When I add the RRFW config to /etc/apache2/conf.d/,
apache2/modperl fails to find "loadable object for
module Apache::Constants in @INC" and refuses to start.
I have verified Apache/Constants.pm is available
under /usr/lib/perl5, which is in @INC:
$ dpkg -L libapache-mod-perl | grep Apache/Constants
/usr/lib/perl5/Apache/Constants.pm
/usr/lib/perl5/Apache/Constants
/usr/lib/perl5/Apache/Constants/Exports.pm
$
More detail is given below.
Packages used:
ii apache2-common2.0.49-1
ii apache2-mpm-prefork 2.0.49-1
ii libapache-mod-perl1.29.0.2-4
ii apache-common 1.3.29.0.2-4
ii perl 5.8.3-3
ii libperl5.85.8.3-3
ii libwww-perl 5.800-1
ii libdevel-symdump-perl 2.03-3
ii liburi-perl 1.30-1
ii libc6 2.3.2.ds1-13
mod-perl is enabled:
# cd /etc/apache2/mods-enabled/
# ln -s ../mods-available/perl.load
A config fragment is included:
# cd /etc/apache2/conf.d/
# ln -s /local/rrfw/apache.conf rrfw.conf
# cat /etc/apache2/conf.d/rrfw.conf
Alias /rrfw "/local/rrfw/rrfw/web"
PerlRequire "/local/rrfw/rrfw/share/rrfw/webmux.pl"
SetHandler perl-script
PerlHandler RRFW::ApacheHandler
SetHandler default-handler
Options None
Apache startup fails:
# /etc/init.d/apache2 start
Starting web server: Apache2[Mon Jul 12 15:58:22 2004] [error] Can't
locate loadable object for module
Apache::Constants in @INC (@INC contains: /local/rrfw/rrfw/lib /etc/perl
/usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl . /etc/apache2/ /etc/apache2/lib/perl) at
/usr/lib/perl5/mod_perl.pm line
14\nCompilation failed in require at /usr/lib/perl5/Apache.pm line
6.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at
/local/rrfw/rrfw/lib/RRFW/ApacheHandler.pm
line 25.\nBEGIN failed--compilation aborted at
/local/rrfw/rrfw/lib/RRFW/ApacheHandler.pm line
25.\nCompilation failed in require at
/local/rrfw/rrfw/share/rrfw/webmux.pl line 25.\nBEGIN
failed--compilation aborted at /local/rrfw/rrfw/share/rrfw/webmux.pl line
25.\nCompilation failed in require
at (eval 1) line 1.\n
[Mon Jul 12 15:58:22 2004] [error] Can't load Perl file:
/local/rrfw/rrfw/share/rrfw/webmux.pl for server
netflow.ipaccess.diveo.net.br:0, exiting...\n
___
Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/