Philip M. Gollucci wrote:
Philippe M. Chiasson wrote:

You are missing: MP_USE_STATIC=1 in there...
Okay, Static builds work well for me.  Now onto the next one:
MP_STATIC_EXTS=1 + MP_USE_STATIC=1

The docs say:
Build Apache2::*.xs as static extensions; I however, get an error:

Making all in support
[snip]
make: don't know how to make ../../../blib/arch/auto/APR/Base64/Base64.so. Stop
*** Error code 2
Stop in /usr/local/dev/repos/ASF/perl/modperl/trunk/WrapXS/APR.
*** Error code 1
Stop in /usr/local/dev/repos/ASF/perl/modperl/trunk/WrapXS.
*** Error code 1
Stop in /usr/local/dev/repos/ASF/perl/modperl/trunk.

First question, is Apache2::*.xs supposed to include the APR wrappers?



Configure lines below:
cd $MP2_SRC ; svn up
cd $MP2_SRC ; make distclean
cd httpd-2.0.54 ; make realclean ; ./buildconf
cd $MP2_SRC ; CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED -ggdb3 -O0"  \
 $PREFIX/perl/bin/perl Makefile.PL \
 MP_USE_STATIC=1 \
 MP_STATIC_EXTS=1 \
 MP_MAINTAINER=1 \
 MP_DEBUG=1 \
 MP_TRACE=1 \
 MP_AP_PREFIX=/usr/local/dev/src/httpd-2.0.54 \
 MP_AP_CONFIGURE=" \
        --prefix=$PREFIX/httpd \
        --with-perl=$PREFIX/perl/bin/perl \
        --enable-v4-mapped \
        --with-dbm=sdbm \
        --with-ssl=/usr \
        --enable-ssl \
        --enable-so \
        --with-port=8007 \
        --with-mpm=worker \
        --with-expat=/usr/local \
        --enable-maintainer-mode \
        --enable-threads \
        --enable-debug \
        --enable-mods-shared=all \
        --enable-modules=all \
        --enable-deflate=shared \
        --enable-proxy=shared \
        --enable-threads \
        --disable-log-forensic  "
cd $MP2_SRC ; make all install


--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
        http://www.liquidityservicesinc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to