Friday, March 02, 2007

Apache2 configure

apache2.2.4 configure parameters:

./configure \
--prefix=/usr/local/apache2 \
--enable-so \
--enable-rewrite \
--enable-module=most \
--enable-shared=max \
--enable-cgi \
--enable-mime-magic \
--enable-dav \
--enable-dav-fs \
--enable-maintainer-mode \
--enable-ssl \
--enable-proxy \
--enable-proxy-connect \
--enable-proxy-ftp \
--enable-proxy-http \
--enable-proxy-balancer \

checking for APR-util... yes
configure: error: Cannot use an external APR-util with the bundled APR
To check to see if this new problem is caused by some change I've made to the server (unlikely - all this machine does is serve web pages - the only changes I ever make are security patches), I tried re-compiling 2.2.3. No problem - everything worked as before.

So, *something* has changed in 2.2.3 -> 2.2.4 that is *broken* on my machine (meaning, I can't even configure 2.2.4). In the config.log, I see the following:

Could you post your ./configure line?
Could you run the commands
locate apr-1-config
locate apu-1-config
and tell us what the output is?

Finally, try adding --with-included-apr to ./configure . This forces the build process to use the apr and apr-util that come with the release.

No comments :