2010/8/13 Torsten Förtsch <torsten.foert...@gmx.net>: > I am trying to compile/test trunk with a freshly compiled perl and apache. > There hasn't been installed a modperl nor A::T/A::R/A::SL for this perl.
Hmm, nice catch. Can we do something similar to Apache::Test for this where it uses a bundled test package? > > make[2]: Entering directory `/home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-Reload' > /opt/perl/bin/perl -I../blib/arch -I../blib/lib \ > t/TEST -clean > [warning] setting ulimit to allow core files > ulimit -c unlimited; /opt/perl/bin/perl /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-Reload/t/TEST -clean > APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= > APACHE_TEST_APXS=/opt/apache-prefork/sbin/apxs \ > /opt/perl/bin/perl -I../blib/arch -I../blib/lib \ > t/TEST -bugreport -verbose=0 > [warning] setting ulimit to allow core files > ulimit -c unlimited; /opt/perl/bin/perl /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-Reload/t/TEST -bugreport -verbose=0 > /opt/apache-prefork/sbin/httpd -d /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-Reload/t -f /home/r2/work/mp2/trunk/clean-trunk-prefork/Apache- > Reload/t/conf/httpd.conf -D APACHE2 > using Apache/2.2.16 (prefork MPM) > > waiting 60 seconds for server to start: .. > waiting 60 seconds for server to start: ok (waited 1 secs) > server localhost.localdomain:8529 started > Can't locate Apache/Test.pm in @INC (@INC contains: /opt/mod_perl > /opt/perl/lib/site_perl/5.12.1/x86_64-linux /opt/perl/lib/site_perl/5.12.1 > /opt/perl/lib/vendor_perl/5.12.1/x86_64-linux /opt/perl/lib/vendor_perl/5.12.1 > /opt/perl/lib/5.12.1/x86_64-linux /opt/perl/lib/5.12.1 .) at t/all.t line 4. > BEGIN failed--compilation aborted at t/all.t line 4. > t/all.t .. skipped: cannot find module 'mod_perl.c' > Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.25 cusr 0.06 > csys = 0.34 CPU) > Result: NOTESTS > [warning] server localhost.localdomain:8529 shutdown > make[2]: Leaving directory `/home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-Reload' > make -C Apache-SizeLimit test > make[2]: Entering directory `/home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit' > /opt/perl/bin/perl -I../blib/arch -I../blib/lib \ > t/TEST -clean > [warning] setting ulimit to allow core files > ulimit -c unlimited; /opt/perl/bin/perl /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit/t/TEST -clean > APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= > APACHE_TEST_APXS=/opt/apache-prefork/sbin/apxs \ > /opt/perl/bin/perl -I../blib/arch -I../blib/lib \ > t/TEST -bugreport -verbose=0 > [warning] setting ulimit to allow core files > ulimit -c unlimited; /opt/perl/bin/perl /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit/t/TEST -bugreport -verbose=0 > /opt/apache-prefork/sbin/httpd -d /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit/t -f /home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit/t/conf/httpd.conf -D APACHE2 > using Apache/2.2.16 (prefork MPM) > > waiting 60 seconds for server to start: .Syntax error on line 474 of > /home/r2/work/mp2/trunk/clean-trunk-prefork/Apache- > SizeLimit/t/conf/httpd.conf: > Invalid command 'PerlOptions', perhaps misspelled or defined by a module not > included in the server configuration > [ error] > server has died with status 255 (t/logs/error_log wasn't created, start the > server in the debug mode) > sh: line 1: 4806 Terminated /opt/perl/bin/perl > /home/r2/work/mp2/trunk/clean-trunk-prefork/Apache-SizeLimit/t/TEST -bugreport > -verbose=0 > make[2]: *** [run_tests] Error 143 > make[2]: Target `test' not remade because of errors. > make[2]: Leaving directory `/home/r2/work/mp2/trunk/clean-trunk- > prefork/Apache-SizeLimit' > make[1]: *** [run_subtests] Error 2 > make[1]: Leaving directory `/home/r2/work/mp2/trunk/clean-trunk-prefork' > make: *** [run_tests] Error 2 > > I believe A::R is failing because it uses the standard @INC but A::T is not > yet installed there. > > A::SL is failing because it expects a httpd.conf with an activated mod_perl to > inherit from. > > These are suspicions only. Perhaps they ring a bell or two. > > Torsten Förtsch > > -- > Need professional modperl support? Hire me! (http://foertsch.name) > > Like fantasy? http://kabatinte.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org > For additional commands, e-mail: dev-h...@perl.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org