Hi at all I'm newbie to mod_perl and apache. I have apache 2.0.54, Freebsd 5.4 and mod_perl-2.0.0.
Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" I have a error when I do Make test TEST_VERBOSE=1 APACHE_TEST_COLOR=1 > test.dat . This is the tail of messages # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:43 2005 # Current time GMT: Thu Jun 9 14:56:43 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : image size # expected: 4 # received: 4 ok 1 # comparing the binary contents ok 2 ok t/cgi................1..2 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:45 2005 # Current time GMT: Thu Jun 9 14:56:45 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : test 'Content-type header setting # expected: (?-xism:^text/html) # received: text/html; charset=ISO-8859-1 ok 1 # testing : test body # expected: <b>done</b> # received: <b>done</b> ok 2 ok t/closure............1..6 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:47 2005 # Current time GMT: Thu Jun 9 14:56:47 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : never the closure problem # expected: 0 # received: 0 ok 1 # testing : never the closure problem # expected: 1 # received: 1 ok 2 # testing : the closure problem should exist # expected: 1 # received: 1 ok 3 # testing : no closure on the first request # expected: 1 # received: 4 not ok 4 # testing : the closure problem should exist # expected: 1 # received: 1 ok 5 # testing : no reload on modification, the closure problem persists # expected: 1 # received: 1 ok 6 FAILED test 4 Failed 1/6 tests, 83.33% okay t/flush..............1..0 # skipped: cannot find module 'deflate' skipped all skipped: cannot find module 'deflate' t/ithreads...........1..0 # skipped: perl 5.8.1 or higher w/ithreads enabled is required skipped all skipped: perl 5.8.1 or higher w/ithreads enabled is required t/nph................1..6 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:51 2005 # Current time GMT: Thu Jun 9 14:56:51 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : test key: body # expected: non-parsed headers body # received: non-parsed headers body ok 1 # testing : test header pragma # expected: no-cache # received: no-cache ok 2 # testing : test header content-type # expected: text/text # received: text/text ok 3 # testing : test header cache-control # expected: must-revalidate, no-cache, no-store # received: must-revalidate, no-cache, no-store ok 4 # testing : test header expires # expected: -1 # received: -1 ok 5 # testing : test key: code # expected: 250 # received: 250 ok 6 ok t/perlrun_extload....1..2 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:53 2005 # Current time GMT: Thu Jun 9 14:56:53 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : PerlRun requiring an external lib with subs # expected: d1nd1234 # received: d1nd1234 ok 1 # testing : PerlRun requiring an external lib with subs # expected: d1nd1234 # received: d1nd1234 ok 2 ok t/prefork............1..4 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:54 2005 # Current time GMT: Thu Jun 9 14:56:54 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : ModPerl::RegistryPrefork test # expected: ok prefork.pl # received: ok prefork.pl ok 1 # testing : ModPerl::PerlRunPrefork test # expected: ok prefork.pl # received: ok prefork.pl ok 2 # testing : ModPerl::Registry test # expected: (?-xism:prefork didn't chdir into the scripts directory) # received: prefork didn't chdir into the scripts directory? The error was: No such file or directory ok 3 # testing : ModPerl::PerlRun test # expected: (?-xism:prefork didn't chdir into the scripts directory) # received: prefork didn't chdir into the scripts directory? The error was: No such file or directory ok 4 ok t/redirect...........1..4 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:56 2005 # Current time GMT: Thu Jun 9 14:56:56 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : test redirect: existing target # expected: ok /tmp/mod_perl-2.0.0/ModPerl-Registry/t/cgi-bin/basic.pl # received: ok /tmp/mod_perl-2.0.0/ModPerl-Registry/t/cgi-bin/basic.pl ok 1 # testing : test redirect: non-existing target # expected: 404 # received: 404 ok 2 # testing : test Registry style redirect: status # expected: 302 # received: 302 ok 3 # testing : test Registry style redirect: cookie # expected: mod_perl=ubercool; path=/ # received: mod_perl=ubercool; path=/ ok 4 ok t/special_blocks.....1..12 # Running under perl version 5.008006 for freebsd # Current time local: Thu Jun 9 16:56:58 2005 # Current time GMT: Thu Jun 9 14:56:58 2005 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.25 # testing : ModPerl::PerlRun is running BEGIN blocks on the first request # expected: begin ok # received: begin ok ok 1 # testing : ModPerl::PerlRun is running BEGIN blocks on the second request # expected: begin ok # received: begin ok ok 2 # testing : ModPerl::PerlRun is running END blocks on the third request # expected: end ok # received: end ok ok 3 # testing : ModPerl::PerlRun is running END blocks on the fourth request # expected: end ok # received: end ok ok 4 # testing : ModPerl::Registry is running BEGIN blocks on the first request # expected: begin ok # received: begin ok ok 5 # testing : ModPerl::Registry is not running BEGIN blocks on the second request # expected: # received: ok 6 # testing : ModPerl::Registry is running END blocks on the first request # expected: end ok # received: end ok ok 7 # testing : ModPerl::Registry is running END blocks on the second request # expected: end ok # received: end ok ok 8 # testing : ModPerl::RegistryBB is running BEGIN blocks on the first request # expected: begin ok # received: begin ok ok 9 # testing : ModPerl::RegistryBB is not running BEGIN blocks on the second request # expected: # received: ok 10 # testing : ModPerl::RegistryBB is running END blocks on the first request # expected: end ok # received: end ok ok 11 # testing : ModPerl::RegistryBB is running END blocks on the second request # expected: end ok # received: end ok ok 12 ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- --- t/closure.t 6 1 16.67% 4 2 tests skipped. Failed 1/16 test scripts, 93.75% okay. 1/78 subtests failed, 98.72% okay. +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ *** Error code 1 Stop in /tmp/mod_perl-2.0.0/ModPerl-Registry. *** Error code 1 Stop in /tmp/mod_perl-2.0.0.