hello

I just donwloaded latest cvs as stated in :
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution
Now I don't really understand what directory is supposed to contain the MP_AP_PREFIX variable ?
Nothing is not a solution:
[EMAIL PROTECTED] /usr/local/src/Mod_perl/modperl-2.0]
$ perl Makefile.PL
!!! Unable to determine server version, aborting.
!!! Please specify MP_APXS or MP_AP_PREFIX.


When I point it to apache 2.0.47 sources in configure ok apparently:
[EMAIL PROTECTED] /usr/local/src/Mod_perl/modperl-2.0]
$ perl Makefile.PL MP_AP_PREFIX=/usr/src/redhat/BUILD/httpd-2.0.47/
Reading Makefile.PL args from @ARGV
  MP_AP_PREFIX = /usr/src/redhat/BUILD/httpd-2.0.47/
Configuring Apache/2.0.47 mod_perl/1.99_10-dev Perl/v5.8.0
   generating script t/TEST
...

But after while compiling :

[EMAIL PROTECTED] /usr/local/src/Mod_perl/modperl-2.0]
$ make
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/usr/local/src/Mod_perl/modperl-2.0/src/modules/perl'


I get hundreds of error about ap* header files apparently;

In file included from /usr/src/redhat/BUILD/httpd-2.0.47/include/httpd.h:72,
from modperl_apache_includes.h:11,
from mod_perl.h:4,
from mod_perl.c:1:
/usr/src/redhat/BUILD/httpd-2.0.47/include/ap_config.h:58:17: apr.h: No such file or directory
In file included from /usr/src/redhat/BUILD/httpd-2.0.47/include/ap_config.h:59, from /usr/src/redhat/BUILD/httpd-2.0.47/include/httpd.h:72,
from modperl_apache_includes.h:11,
from mod_perl.h:4,
from mod_perl.c:1:
/usr/src/redhat/BUILD/httpd-2.0.47/srclib/apr-util/include/apr_hooks.h:58:17: apu.h: No such file or directory


However, apr.h for example is here:

$ locate apr.h
/usr/include/httpd/apr.h
/usr/include/apr-0/apr.h
/usr/src/redhat/BUILD/apr-0.9.3/include/apr.h.in
/usr/src/redhat/BUILD/apr-0.9.3/include/apr.hnw
/usr/src/redhat/BUILD/apr-0.9.3/include/apr.hw
/usr/src/redhat/BUILD/apr-0.9.3/include/apr.h
/usr/src/redhat/BUILD/apr-0.9.3/test/test_apr.h
/usr/src/redhat/BUILD/httpd-2.0.47/srclib/apr/test/test_apr.h
/usr/src/redhat/BUILD/httpd-2.0.47/srclib/apr/include/apr.h.in
/usr/src/redhat/BUILD/httpd-2.0.47/srclib/apr/include/apr.hw
/usr/src/redhat/BUILD/httpd-2.0.47/srclib/apr/include/apr.hnw
/usr/src/redhat/BUILD/httpd-2.0.45/srclib/apr/include/apr.h.in
/usr/src/redhat/BUILD/httpd-2.0.45/srclib/apr/include/apr.hnw
/usr/src/redhat/BUILD/httpd-2.0.45/srclib/apr/include/apr.hw
/usr/src/redhat/BUILD/httpd-2.0.45/srclib/apr/test/test_apr.h

How can I compile mod_perl 2.0 ? mybe I should use MP_APXS instead, but again what directory should I point it to ?

thanks .




Reply via email to