If I install apr-0.9.4 apache-2.0.50 will refuse to start with the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 47 of /etc/apache2/conf/apache2.conf: Cannot load /usr/lib/apache2/modules/mod_cgid.so into server: /usr/lib/apache2/modules/mod_cgid.so: undefined symbol: apr_os_pipe_put_ex This is probably due to a version mismatch of apr. The latest available apr from the apache-mirrors is 0.9.4, but apache-2.0.50 (and looking at the ChangeLog probably 2.0.49 and 2.0.48 as well) carry (and compile against) a cvs-checkout of the apr-0_9 branch, which is currently 0.9.5. emerge info: Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-stardust7) ================================================================= System uname: 2.6.7-stardust7 i686 AMD Athlon(tm) XP Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-fexpensive-optimizations -march=athlon-xp -mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O2 -fweb -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-fexpensive-optimizations -march=athlon-xp -mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O2 -fweb -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm arts athlon avi berkdb cdr crypt cups dga dvd encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib"
This is fixed in the new Apache-Herd Dev Stuff. We have split APR out of Apache 2, and added proper depends on it. Not sure when this will hit mainline portage.
APR and Apache are now split, moving to ~arch today. Please test! Upgrade instructions at http://dev.gentoo.org/~vericgar/doc/apache-package-refresh.html