//goo/usr/ports/www/mod_chroot# make install clean ===> Vulnerability check disabled, database not found => mod_chroot-0.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://core.segfault.pl/~hobbit/mod_chroot/dist/. mod_chroot-0.5.tar.gz 100% of 14 kB 33 kBps ===> Extracting for mod_chroot-0.5 => MD5 Checksum OK for mod_chroot-0.5.tar.gz. ===> Patching for mod_chroot-0.5 ===> mod_chroot-0.5 depends on file: /usr/local/sbin/apxs - found ===> Configuring for mod_chroot-0.5 ===> Building for mod_chroot-0.5 ===> Generating apache plist /usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O -pipe -march=opteron -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -c -o mod_chroot.lo mod_chroot.c && touch mod_chroot.slo /usr/local/build-1/libtool --silent --mode=link cc -o mod_chroot.la -rpath /usr/local/libexec/apache22 -module -avoid-version mod_chroot.lo ===> Installing for mod_chroot-0.5 ===> mod_chroot-0.5 depends on file: /usr/local/sbin/apxs - found ===> Generating temporary packing list ===> Checking if www/mod_chroot already installed /usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22 /usr/local/build-1/libtool --mode=install cp /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22/ cp /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22/mod_chroot.so cp: /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/ports/www/mod_chroot. //goo/usr/ports/www/mod_chroot# Fix: Well, www/mod_chroot/Makefile seems to rely on www/apache20/Makefile.modules.3rd so I had a poke in there (the same file isn't in www/apache2[12]/... This seems to do the trick, but I'm not sure if it's right: //goo/usr/ports/www/apache20# diff -u Makefile.modules.3rd.orig Makefile.modules.3rd -.if exists(${LOCALBASE}/include/apache2/http_core.h) +.if exists(${LOCALBASE}/include/apache2/http_core.h) || exists(${LOCALBASE}/include/apache21/http_core.h) || exists(${LOCALBASE}/include/apache22/http_core.h) WITH_APACHE2= YES . if defined (WANT_APACHE) . if ${WANT_APACHE} == 13--Yob7aMur0uwaTD0kaSB0Nrj2mbNfBmQ3HYIqpren8dKhiZAL Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.modules.3rd.orig Fri Jan 6 12:46:34 2006 +++ Makefile.modules.3rd Tue May 9 10:54:56 2006 @@ -18,7 +18,7 @@ PKGNAMESUFFIX How-To-Repeat: take a virgin 5.4 O/S install. install www/apache22, then try www/mod_chroot
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer
State Changed From-To: open->closed If we use USE_APACHE=13+ it fixes the problem. Thanks for pointing this out. clem