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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]