Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice
On Jan 29, 2006, at 6:05 PM, ben syverson wrote: sigh Any ideas? Considering that MP2/libapreq2 - AFAIK - are designed for httpd2.0 -- does this compile on your system? httpd2.0, libapreq2, apr and mod_perl2
Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice
On Feb 1, 2006, at 12:35 AM, Jonathan Vanasco wrote: Considering that MP2/libapreq2 - AFAIK - are designed for httpd2.0 -- does this compile on your system? httpd2.0, libapreq2, apr and mod_perl2 Yeah, sorry -- I should have posted a followup. This was the problem! Thanks, - ben
Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice
Apache2 comes with APR built in; you do not need to install it separately. You are finding what a big PITA that results in. Mark ben syverson [EMAIL PROTECTED] 29-Jan-06 18:05 PM Sorry for the cross-post, but I've recompiled everything so many times I'm starting to lose track of reality...I've just recompiled APR 1.2.2 and installed it into /usr/local/apr -- both APR and APR-util. They both passed "make test"...Then I recompiled httpd:make clean./configure CFLAGS="-O3" \--prefix=/usr/local/etc/apache2 \--with-apr=/usr/local/apr/ \--with-apr-util=/usr/local/apr/ \--disable-actions \--disable-asis \--disable-auth \--disable-autoindex \--disable-access \--disable-cgi \--disable-cgid \--disable-charset-lite \--disable-imagemap \--disable-include \--disable-negotiation \--disable-userdir \--enable-auth-dbmmakemake installThen I recompiled libapreq 2.06-dev:gmake cleanperl Makefile.PL \--with-apache2-apxs=/usr/local/etc/apache2/bin/apxs \ --with-apr-config=/usr/local/apr/bin/apr-1-config \--with-apu-config=/usr/local/apr/bin/apu-1-configgmakegmake installThen I recompiled mod_perl 2.02perl Makefile.PL \MP_APXS=/usr/local/etc/apache2/bin/apxs \MP_APR_CONFIG=/usr/local/apr/bin/apr-1-configmakeThen mod_perl2 refuses to build:ThreadMutex.c: In function `XS_APR__ThreadMutex_new':ThreadMutex.c:51: error: `APR_THREAD_MUTEX_DEFAULT' undeclared (first use in this function)ThreadMutex.c:51: error: (Each undeclared identifier is reported only onceThreadMutex.c:51: error: for each function it appears in.)ThreadMutex.c: In function `XS_APR__ThreadMutex_pool_get':ThreadMutex.c:133: warning: assignment makes pointer from integer without a cast*** Error code 1Stop in /usr/home/root/mod_perl-2.0.2/WrapXS/APR/ThreadMutex.*** Error code 1sighAny ideas?thanks in advance,- ben