Hello, since a few days I am trying to get the following combination to work on Mac OS X 10.6.4
- Apache 2.2.15 - Perl 5.10.1 - mod_perl 2.0.4 - libapreq2 2.12 The tests of libapreq2 always fail. I tried nearly everything, so I am desperate enough to call this list for help after three days banging my head against the keyboard. Here is what I do 1. Installing Perl export CFLAGS="-fPIC" export CPPFLAGS="-fPIC" export LDFLAGS="-fPIC" ./Configure -des -Dprefix=/Somewhere/perl5 -Dusethreads -Duseshrplib make make test make install I am getting these warnings while testing: ext/List-Util/t/p_refaddr.....................................Hexadecimal number > 0xffffffff non-portable at ../lib/Scalar/Util/PP.pm line 44. lib/locale....................................................FAILED at test 99 I am ignoring these as Perl is running fine and I know the locale test is failing by a known character set problem in Mac OS X. 2. Installing several Perl modules via CPAN required by the Apache HTTP Request library. All tests finish successfully. 3. Installing Apache ./configure --prefix=/Somewhere/httpd --enable-mods-shared=all --enable-dav --enable-rewrite --enable-ssl --enable-proxy --enable-proxy_http --enable-auth-digest --with-mpm=worker --with-included-apr make make install I am running several tests and Apache is working fine. 4. Installing mod_perl perl Makefile.PL MP_AP_PREFIX=/Somewhere/httpd make make test make install I am getting there errors t/hooks/authen_basic...........ok 1/4# Failed test 4 in t/hooks/authen_basic.t at line 26 t/hooks/authen_basic...........FAILED test 4 Failed 1/4 tests, 75.00% okay t/hooks/authen_digest..........ok t/hooks/authz..................ok 1/4# Failed test 4 in t/hooks/authz.t at line 19 t/hooks/authz..................FAILED test 4 As I do not intend to use these handlers for now, I ignore the problem and continue. I am running several of my own test programs and Apache with mod_perl is always working fine. 5. Installing libapreq2 ./configure --prefix=/Somewhere/libapreq2 --with-apache2-apxs=/Somewhere/httpd/bin/apxs --with-expat=builtin --enable-perl-glue The following tests fails with a loooong timeout: ------------ /Somewhere/httpd/bin/httpd -d /Somewhere/libapreq2-2.12/glue/perl/t -f /Somewhere/libapreq2-2.12/glue/perl/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.15 (worker MPM) waiting 60 seconds for server to start: .[Fri Jul 16 17:25:00 2010] [warn] PassEnv variable PERL5LIB was undefined . waiting 60 seconds for server to start: ok (waited 1 secs) server localhost:8529 started t/api/cookie.t ....... request has failed (the response code was: 500) see t/logs/error_log for more details t/api/cookie.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/api/error.t ........ request has failed (the response code was: 500) see t/logs/error_log for more details t/api/error.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/api/module.t ....... ------------ I am aborting here manually via ^c as there is obviously a major problem. While waiting for the single tests to finish the https process uses a lot of CPU power, so there is something happening, which looks to me like an indefinite loop. When I am looking into t/logs/error_log I can see errors like: [Mon Jul 19 09:50:15 2010] [debug] mod_apreq_access_test.c(93): [client 127.0.0.1] (20014)Internal error: test not found: paring error detected (no param table) [Mon Jul 19 09:50:15 2010] [debug] mod_apreq2.c(521): [client 127.0.0.1] (70008)Partial results are valid but processing is incomplete: cannot steal context: bad filter status Here some more information from Apache: Server version: Apache/2.2.15 (Unix) Server built: Jul 19 2010 09:26:27 Server's Module Magic Number: 20051115:24 Server loaded: APR 1.4.2, APR-Util 1.3.9 Compiled using: APR 1.4.2, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/worker" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/Somewhere/applications/httpd" -D SUEXEC_BIN="/Somewhere/applications/httpd/bin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" Any idea how to trace this problem? Thank you. Best regards Matthias Schmitt magic moving pixel s.a. 23, Avenue Grande-Duchesse Charlotte L-3441 Dudelange Luxembourg Phone: +352 54 75 75 - 0 http://www.mmp.lu