On Tue, 2 Jun 2015 08:41:49 +0100 Steve Hay <steve.m....@googlemail.com> wrote: > > Just follow the instructions in INSTALL in the tarball, i.e. something like: > > % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs > % make && make test
mmmmhh..... hitting a wall, I'm getting errors (listed below). I tried several things, but can't get 'make test' to work My system runs Debian Stable ( 8/Jessie ), with this command to install Apache httpd/mod_perl : apt-get install apache2-mpm-prefork libapache2-request-perl libapache2-modperl2 libapache2-mod-apreq2 apache2.2-common apache2-dev So presumably, it's running RC1 now (dpkg -l shows : 2.0.9~1624218-2) > % make install > > (You can skip the last step. It's the results of "make test" that > we're interested in here.) Does this mean that I don't need to remove my current installation of mod_perl to run the tests? ####Steps taken make : had to symlink libgdbm.so and libperl.so make test : first returns "httpd.conf not found", so I copied it from apache2.conf and modified /etc/apache2/mods-available/perl.load to use mod_perl.so in the test suite with LoadModule perl_module /home/bla/tmp/mod_perl-2.0.9-rc2/src/modules/perl/mod_perl.so. Result : t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/bla/tmp/mod_perl-2.0.9-rc2/t/TEST -clean APACHE_TEST_APXS= APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= \ /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/bla/tmp/mod_perl-2.0.9-rc2/t/TEST -bugreport -verbose=0 [Tue Jun 02 14:42:04.341261 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Tue Jun 02 14:42:04.341525 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_PID_FILE} is not defined [Tue Jun 02 14:42:04.341662 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_RUN_USER} is not defined [Tue Jun 02 14:42:04.341748 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined [Tue Jun 02 14:42:04.341869 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Tue Jun 02 14:42:04.342683 2015] [so:warn] [pid 29185] AH01574: module apreq_module is already loaded, skipping [Tue Jun 02 14:42:04.358599 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_RUN_DIR} is not defined [Tue Jun 02 14:42:04.359251 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Tue Jun 02 14:42:04.359717 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Tue Jun 02 14:42:04.359823 2015] [core:warn] [pid 29185] AH00111: Config variable ${APACHE_LOG_DIR} is not defined AH00526: Syntax error on line 74 of /etc/apache2/httpd.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} APXS (/usr/bin/apxs) query for PREFIX failed /usr/sbin/apache2 -d /home/bla/tmp/mod_perl-2.0.9-rc2/t -f /home/bla/tmp/mod_perl-2.0.9-rc2/t/conf/httpd.conf -D APACHE2 -D APACHE2_4 -D PERL_USEITHREADS using Apache/2.4.10 waiting 300 seconds for server to start: .AH00534: apache2: Configuration error: No MPM loaded. [ error] server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode) Terminated Makefile:1106: recipe for target 'run_tests' failed make: *** [run_tests] Error 143 -- Salutations, Vincent Veyron https://marica.fr/ Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service juridique -- Salutations, Vincent Veyron http://vincentveyron.com