FAQ
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

Search Discussions

  • Randy Kobes at Sep 13, 2006 at 2:14 am

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedSep 12, '06 at 6:49p
activeSep 13, '06 at 2:14a
posts2
users2
websiteperl.apache.org

2 users in discussion

Oskar Ahner: 1 post Randy Kobes: 1 post

People

Translate

site design / logo © 2022 Grokbase