You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stephen Jungels <sj...@adelphia.net> on 2004/11/21 23:18:47 UTC

make test fails

Can anyone help me with a mod_perl 2.0 install problem?  I am getting an
error when I try to do "make test"

Brief synopsis:
1. I installed apache 2.0 with:
  ./configure --enable-module=so
enable-module=rewrite --prefix=/usr/local/apache

Apache installs and runs fine

2. I configured mod_perl like so:
  perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MP_INST_APACHE2=1

3. make seems to work fine

4. When I "make test" it errors out with the following:

-------------------------
waiting 120 seconds for server to start: .Syntax error on line 12 of
/mnt/usr-local/mod_perl-1.99_17/t/conf/httpd.conf:
Cannot load /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so
into server: /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so:
undefined symbol: apr_pool_cleanup_null
[  error]
server has died with status 1 (t/logs/error_log wasn't created, start the
server in the debug mode)
make: *** [run_tests] Error 143
-------------------------

I am running Perl 5.6.1 on Montevista Linux 2.4.17 (Buffalo Linkstation)

Thanks for your help.

--Stephen




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: make test fails

Posted by Stas Bekman <st...@stason.org>.
Stephen Jungels wrote:
> Can anyone help me with a mod_perl 2.0 install problem?  I am getting an
> error when I try to do "make test"
> 
> Brief synopsis:
> 1. I installed apache 2.0 with:
>   ./configure --enable-module=so
> enable-module=rewrite --prefix=/usr/local/apache
> 
> Apache installs and runs fine
> 
> 2. I configured mod_perl like so:
>   perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MP_INST_APACHE2=1
> 
> 3. make seems to work fine
> 
> 4. When I "make test" it errors out with the following:
> 
> -------------------------
> waiting 120 seconds for server to start: .Syntax error on line 12 of
> /mnt/usr-local/mod_perl-1.99_17/t/conf/httpd.conf:
> Cannot load /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so
> into server: /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so:
> undefined symbol: apr_pool_cleanup_null
> [  error]
> server has died with status 1 (t/logs/error_log wasn't created, start the
> server in the debug mode)
> make: *** [run_tests] Error 143
> -------------------------
> 
> I am running Perl 5.6.1 on Montevista Linux 2.4.17 (Buffalo Linkstation)
> 
> Thanks for your help.

A quick guess: you have more than one libapr.so on your system. You've 
compiled modperl with one, but at startup time a different lib (possibly 
from /usr/lib/ gets on the way)

To give you a more intelligent answer we will need to receive a proper bug 
report as explained here: http://perl.apache.org/bugs/


__________________________________________________________________
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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html