You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Oskar Ahner <os...@osz.nu> on 2006/09/12 20:49:30 UTC

make test fails for apache2.2.3 and mod_perl2.0.2

Hi All!

My question is why apache complains on "is garbled - perhaps this is not 
an Apache module DSO?" when I build everything from scratch? Here are 
the steps:

* I build and install Perl 5.8.8 below /opt/perl

* I build and install apache2:

  ./configure --with-mpm=prefork --prefix=/opt/apache2
  make & make install

* I build mod_perl 2.0.2:
  /opt/perl/bin/perl Makefile.PL MP_AP_PREFIX=/opt/apache2
  make

* And then make test:

/opt/perl/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl/bin/perl 
/home/oskar/build/mod_perl-2.0.2/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= 
APACHE_TEST_USER= APACHE_TEST_APXS= \
/opt/perl/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl/bin/perl 
/home/oskar/build/mod_perl-2.0.2/t/TEST -bugreport -verbose=0
/opt/apache2/bin/httpd  -d /home/oskar/build/mod_perl-2.0.2/t -f 
/home/oskar/build/mod_perl-2.0.2/t/conf/httpd.conf -D APACHE2
httpd: Syntax error on line 12 of 
/home/oskar/build/mod_perl-2.0.2/t/conf/httpd.conf: API module structure 
`perl_module' in file 
/home/oskar/build/mod_perl-2.0.2/src/modules/perl/mod_perl.so is garbled 
- perhaps this is not an Apache module DSO?
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
sh: line 1: 12438 Terminated              /opt/perl/bin/perl 
/home/oskar/build/mod_perl-2.0.2/t/TEST -bugreport -verbose=0
make: *** [run_tests] Error 143



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: make test fails for apache2.2.3 and mod_perl2.0.2

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 12 Sep 2006, Oskar Ahner wrote:

> Hi All!
>
> My question is why apache complains on "is garbled - perhaps this is not an 
> Apache module DSO?" when I build everything from scratch? Here are the steps:
>
> * I build and install Perl 5.8.8 below /opt/perl
>
> * I build and install apache2:
>
> ./configure --with-mpm=prefork --prefix=/opt/apache2
> make & make install
>
> * I build mod_perl 2.0.2:
> /opt/perl/bin/perl Makefile.PL MP_AP_PREFIX=/opt/apache2
> make

This is probably a question better discussed on the
mod_perl mailing list. One thing you might want to
check, though - in the httpd.conf in t/conf/ in the
mod_perl sources, are any modules other than those
under /opt/apache2 being loaded?

-- 
best regards,
Randy Kobes

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org