You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dimitrios Perperidis <dp...@doc.ic.ac.uk> on 2005/01/21 18:46:50 UTC
Problems with mod_perl.2.0.0 make test
Hi,
I have installed mod_perl-2.0.0-RC3 using:
1) perl Makefile.PL MP_INST_APACHE2=1
MP_APXS=/usr/local/apache2/bin/apxs and then,
2) make.
I get not errors in these two first steps. Then, when I try
make test I get the following error:
/usr/bin/perl5.8.0 -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.0
/usr/src/mod_perl-2.0.0-RC3/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl5.8.0 -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.0
/usr/src/mod_perl-2.0.0-RC3/t/TEST -bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (65534:65534)
[warning] testing whether 'nobody' is able to -rwx
/usr/src/mod_perl-2.0.0-RC3/t
"/usr/bin/perl5.8.0" -Mlib=/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534,
65534, q[/usr/src/mod_perl-2.0.0-RC3/t]) }';
[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/local/apache2/bin/httpd -d /usr/src/mod_perl-2.0.0-RC3/t -f
/usr/src/mod_perl-2.0.0-RC3/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.52 (prefork MPM)
waiting 120 seconds for server to start: .[Fri Jan 21 17:38:51 2005]
[info] 7 Apache:: modules loaded
[Fri Jan 21 17:38:51 2005] [info] 0 APR:: modules loaded
[Fri Jan 21 17:38:51 2005] [info] base server + 27 vhosts ready to run tests
[Fri Jan 21 17:38:51 2005] [error] $s->add_config() has failed: Can't
locate ExtUtils/Liblist/Kid.pm in @INC (@INC contains:
/usr/src/mod_perl-2.0.0-RC3/t/lib
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib
/usr/src/mod_perl-2.0.0-RC3/t/response
/usr/src/mod_perl-2.0.0-RC3/t/protocol
/usr/src/mod_perl-2.0.0-RC3/t/preconnection
/usr/src/mod_perl-2.0.0-RC3/t/hooks /usr/src/mod_perl-2.0.0-RC3/t/filter
/usr/src/mod_perl-2.0.0-RC3/t
/usr/src/mod_perl-2.0.0-RC3/t/htdocs/testdirective/perlmodule-vh
/usr/src/mod_perl-2.0.0-RC3/t/htdocs/testdirective/main
/usr/src/mod_perl-2.0.0-RC3/blib/lib/Apache2
/usr/src/mod_perl-2.0.0-RC3/blib/arch/Apache2
/usr/src/mod_perl-2.0.0-RC3/blib/lib
/usr/src/mod_perl-2.0.0-RC3/blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist.pm line 7.\nCompilation failed in
require at /usr/lib/perl5/5.8.0/ExtUtils/MM.pm line 8.\nCompilation
failed in require at /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm line
34.\nCompilation failed in require at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestRun.pm line
29.\nBEGIN failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestRun.pm line
29.\nCompilation failed in require at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestServer.pm line
25.\nBEGIN failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestServer.pm line
25.\nCompilation failed in require at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestConfig.pm line
54.\nBEGIN failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestConfig.pm line
54.\nCompilation failed in require at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/Test.pm line
22.\nBEGIN failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/Test.pm line
22.\nCompilation failed in require at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestHandler.pm line
20.\nBEGIN failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/Apache-Test/lib/Apache/TestHandler.pm line
20.\nCompilation failed in require at (eval 8) line 3.\nCompilation
failed in require at
/usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl line
17.\n\t...propagated at
/usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl line 18.\nBEGIN
failed--compilation aborted at
/usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl line
20.\nCompilation failed in require at (eval 2) line 1.\n
[Fri Jan 21 17:38:51 2005] [error] Can't load Perl file:
/usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl for server
localhost.doc.ic.ac.uk:8529, exiting...
[ error]
server has died with status 255 (t/logs/error_log wasn't created, start
the server in the debug mode)
I am not sure, what this error is. As I understand it can not find the
files. However, both modperl_startup.pl and ExtUtils/Liblist/Kid.pm
exist in my directories. Could anyone provide me with some help?
Regards
Dimitrios
Re: Problems with mod_perl.2.0.0 make test
Posted by Stas Bekman <st...@stason.org>.
Dimitrios Perperidis wrote:
> Hi,
>
> I have installed mod_perl-2.0.0-RC3 using:
> 1) perl Makefile.PL MP_INST_APACHE2=1
> MP_APXS=/usr/local/apache2/bin/apxs and then,
> 2) make.
>
> I get not errors in these two first steps. Then, when I try
> make test I get the following error:
[...]
> waiting 120 seconds for server to start: .[Fri Jan 21 17:38:51 2005]
> [info] 7 Apache:: modules loaded
> [Fri Jan 21 17:38:51 2005] [info] 0 APR:: modules loaded
> [Fri Jan 21 17:38:51 2005] [info] base server + 27 vhosts ready to run
> tests
> [Fri Jan 21 17:38:51 2005] [error] $s->add_config() has failed: Can't
> locate ExtUtils/Liblist/Kid.pm in @INC (@INC contains:
[...]
> /usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl line 18.\nBEGIN
> failed--compilation aborted at
> /usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl line
> 20.\nCompilation failed in require at (eval 2) line 1.\n
> [Fri Jan 21 17:38:51 2005] [error] Can't load Perl file:
> /usr/src/mod_perl-2.0.0-RC3/t/conf/modperl_startup.pl for server
> localhost.doc.ic.ac.uk:8529, exiting...
> [ error]
> server has died with status 255 (t/logs/error_log wasn't created, start
> the server in the debug mode)
>
> I am not sure, what this error is. As I understand it can not find the
> files. However, both modperl_startup.pl and ExtUtils/Liblist/Kid.pm
> exist in my directories. Could anyone provide me with some help?
Please try:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Can_t_locate_F_TestFilter_in_str_consume_pm__in_C__INC____
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: Problems with mod_perl.2.0.0 make test
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Dimitrios Perperidis wrote:
> Hi,
>
> I have installed mod_perl-2.0.0-RC3 using:
> 1) perl Makefile.PL MP_INST_APACHE2=1
> MP_APXS=/usr/local/apache2/bin/apxs and then,
> 2) make.
>
> I get not errors in these two first steps. Then, when I try
> make test I get the following error:
> [warning] root mode: changing the files ownership to 'nobody' (65534:65534)
> I am not sure, what this error is. As I understand it can not find the
> files. However, both modperl_startup.pl and ExtUtils/Liblist/Kid.pm
> exist in my directories. Could anyone provide me with some help?
a permission problem? the webserver is running as nobody, not as the root
user you are (improperly) trying to run the tests as. a simple test would
be to see if this succeeds or fails
$ perl -MExtUtils::Liblist::Kid -e0
if that works for you as root but not as nobody that's probably the problem :)
you might try to nuke your build directory then re-unpack RC3, run 'perl
Makefile.PL...', 'make', and 'make test' as a non-root user and see if that
clears things up.
HTH
--Geoff