I've found a few bugs listed that are similar to this but they are marked as resolved... I am using the latest portage, have run emerge sync && emerge -uvDt world, yet this problem persists. If i emerge mod_perl (1.9.11) then the config files are going into /etc/apache2/conf/modules.d wheras httpd.conf is set to Include /etc/apache2/modules.d/*.conf. Obviously a simple thing for me to fix myself, which I did. As soon as the files were in the CORRECT location, i restarted apache only for it to segfault on me! It appears that any version of mod_perl for apache2 on my machine is segfaulting. My use flags for compiling apache are: +apache2 -debug +doc +ldap -mpm-leader -mpm-peruser -mpm-preform -mpm-threadpool -mpm-worker -no-suexec +ssl -static-modules +threads HOWEVER - mod_perl 1.99.17-r1 works, but is masked...should this not be the other way around? :o) Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge mod_perl 3. cp /etc/apache2/conf/modules.d/* /etc/apache2/modules.d 4. /etc/init.d/apache stop 5. /etc/init.d/apache restart Actual Results: Apache seg faults Expected Results: Not segfault! :) Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.1 1-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar e/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.kems.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups doc emboss encod e foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 imlib ipv6 ithreads java jpe g junit kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg o ggvorbis opengl oss pam perl perlsuid png python qt quicktime readline sdl slang spell ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts vorbis x86 xml2 xv zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
To clarify a little: mod_perl-1.99.11 is incompatible with the new Apache layout and also segfaults with those new apache versions. mod_perl-1.99.17-r1 is compatible with the new Apache layout but still needs some testing, but if you have httpd.conf then you have the new apache layout and should use the masked one. *** This bug has been marked as a duplicate of 77551 ***