Hi Jan,
Thanks for your work on this. Here's my results: I checked out fresh: svn checkout https://svn.apache.org/repos/asf/perl/modperl/branches/httpd24/ httpd24-branch Ran /usr/local/perl-5.14/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs MP_APR_CONFIG=/usr/local/apache2/bin/apr-1-config (also tried the system perl as well) Eventually I get this error cc -I/usr/src/mod_perl/httpd24-branch/src/modules/perl -I/usr/src/mod_perl/httpd24-branch/xs -I/usr/local/apache2/include -I/usr/local/apache2/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/perl-5.14/lib/5.14.2/x86_64-linux-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -O2 -fPIC \ -c modperl_constants.c && mv modperl_constants.o modperl_constants.lo modperl_constants.c: In function 'modperl_constants_lookup_apache2_const': modperl_constants.c:314: error: 'HTTP_ALREADY_REPORTED' undeclared (first use in this function) modperl_constants.c:314: error: (Each undeclared identifier is reported only once modperl_constants.c:314: error: for each function it appears in.) modperl_constants.c:319: error: 'HTTP_IM_USED' undeclared (first use in this function) modperl_constants.c:359: error: 'HTTP_PERMANENT_REDIRECT' undeclared (first use in this function) modperl_constants.c:474: error: 'HTTP_PRECONDITION_REQUIRED' undeclared (first use in this function) modperl_constants.c:479: error: 'HTTP_TOO_MANY_REQUESTS' undeclared (first use in this function) modperl_constants.c:484: error: 'HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE' undeclared (first use in this function) modperl_constants.c:524: error: 'HTTP_LOOP_DETECTED' undeclared (first use in this function) modperl_constants.c:534: error: 'HTTP_NETWORK_AUTHENTICATION_REQUIRED' undeclared (first use in this function) make[1]: *** [modperl_constants.lo] Error 1 make[1]: Leaving directory `/usr/src/mod_perl/httpd24-branch/src/modules/perl' make: *** [modperl_lib] Error 2 Commenting out all the loops for the above constants in that file did get me to compile. No real idea of the ramifications though ;-) At that point make test does not work as root nor as a non-privileged user I get this error: /usr/local/apache2/bin/httpd -d /usr/src/mod_perl/httpd24-branch/t -f /usr/src/mod_perl/httpd24-branch/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.4.2 (event MPM) waiting 300 seconds for server to start: .httpd: Syntax error on line 224 of /usr/src/mod_perl/httpd24-branch/t/conf/httpd.conf: Syntax error on line 15 of /usr/src/mod_perl/httpd24-branch/t/conf/extra.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot [ error] server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode) sh: line 1: 12431 Terminated /usr/bin/perl /usr/src/mod_perl/httpd24-branch/t/TEST -bugreport -verbose=0 make: *** [run_tests] Error 143 That line 15 is just run/ So I create run subdir under t/ I then got: /usr/local/apache2/bin/httpd -d /usr/src/mod_perl/httpd24-branch/t -f /usr/src/mod_perl/httpd24-branch/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.4.2 (event MPM) waiting 300 seconds for server to start: .[Fri Feb 22 14:09:32.257559 2013] [env:warn] [pid 13327:tid 140259771705088] AH01506: PassEnv variable LD_LIBRARY_PATH was undefined [ error] oh rats, server dumped core [ error] for stacktrace, run: gdb /usr/local/apache2/bin/httpd -core /usr/src/mod_perl/httpd24-branch/core.13327 [ error] server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode) [ error] oh nuts, server dumped core [ error] for stacktrace, run: gdb /usr/local/apache2/bin/httpd -core /usr/src/mod_perl/httpd24-branch/core.13327 sh: line 1: 13231 Terminated /usr/bin/perl /usr/src/mod_perl/httpd24-branch/t/TEST -bugreport -verbose=0 make: *** [run_tests] Error 143 So things are getting a little better. Regards, KAM On 2/21/2013 2:41 AM, Jan Kaluža wrote: Hi, --
Kevin A. McGrail President
Peregrine Computer Consultants Corporation
703-359-9700 x50 / 800-823-8402 (Toll-Free)
![]() |
- httpd24 branch Jan Kaluža
- Re: httpd24 branch Kevin A. McGrail
- Re: httpd24 branch Jan Kaluža
- Re: httpd24 branch Kevin A. McGrail
- Re: httpd24 branch Jan Kaluža
- Re: httpd24 branch Kevin A. McGrail
- Re: httpd24 branch Andy Colson
- Re: httpd24 branch Jan Kaluža
- Re: httpd24 branch Torsten Förtsch
- Re: httpd24 branch Jan Kaluža
- Re: httpd24 branch Andy Colson
- Re: httpd24 branch Jan Kaluža
- Re: httpd24 branch Andy Colson
- Re: httpd24 branch Torsten Förtsch
- Re: httpd24 branch Jan Kaluža