The file 'mod_jk/jk/native/configure.in' does: APRINCLUDEDIR="-I`$APXS -q APR_INCLUDEDIR`" APXSCFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CFLAGS` -DHAVE_APR ${APRINCLUDEDIR}" This goes badly wrong when '$APXS -q APR_INCLUDEDIR' returns more than one directory and one is doing a shared-only build, (e.g. '$APXS -q APR_INCLUDEDIR' returns "/apache_src_dir/dir1 /apache_src_dir/dir2" and neither now exist) because the compiler flags now include: "-DHAVE_APR -I/dir1 /dir2" - the compiler isn't being told that '/dir2' should be included, treats it as a file to read, can't, so blows up. E.g. /bin/sh /opt/thus/share/apache2/build/libtool --silent --mode=compile gcc -I/opt/thus/include/apache2 -O2 -march=i386 -mcpu=i686 -g -O2 -march=i386 -mcpu=i686 -g -O2 -march=i386 -mcpu=i686 -g -pthread -DHAVE_APR -I/var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/prefork/srclib/apr/include /var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/srclib/apr/include -O2 -march=i386 -mcpu=i686 -g -I/usr/include -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /include -I /include/ -c jk_ajp12_worker.c gcc: /var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/srclib/apr/include: No such file or directory
Fixed in the CVS. You can try from HEAD or wait for 1.2.9. Mladen