Hello List members,
I have the following system:
Redhat 6.1
Perl version 5.005_03 built for i686-linux (no RPM)
Apache_1.3.9 (no RPM)
mod_perl-1.21 (no RPM)
glibc-2.1.2
My problem is the following:
If I build mod_perl to be dinamically loaded it works fine, but I want
mod_perl to be static linked to apache and all the other modules to be
dinamic linked, so the results are:
[webuser@here /]$ /usr/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
mod_perl.c
The error comes here:
[webuser@here /]$ /usr/apache/bin/apachectl start
Syntax error on line 3 of /usr/apache/conf/perl.conf:
Invalid command 'PerlRequire', perhaps mis-spelled or defined by a
module not included in the server configuration
/usr/apache/bin/apachectl start: httpd could not be started
The very extrange thing is if I do:
[webuser@here /]# /usr/apache/bin/httpd -L | grep PerlRequire
this directive is deprecated, use `PerlRequire'
PerlRequire (mod_perl.c)
It seems to be included.
Ah! If I compile all the apache modules static the static mod_perl
seems to work fine, so.... without doing very fast conclusions it is any
other module requiered to be staticly linked together with mod_perl??
Any answer can be really apreciated.
M. Machado