[OT] Linux in the News

2006-02-15 Thread Mark Galbreath


This just in:

http://ct.enews.eweek.com/rd/cts?d=186-3209-8-85-114956-376644-0-0-0-1

...like this is news or something.

Mark-|-kraM


Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-01-30 Thread Mark Galbreath


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