Emerged mod_mono-1.0.2 and added "-D MONO" to APACHE2_OPTS in /etc/conf.d/apache2. Tried to start apache2 and got this error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/70_mod_mono.conf: Cannot load /usr/lib/apache2/extramodules/mod_mono.so into server: /usr/lib/apache2/extramodules/mod_mono.so: cannot open shared object file: No such file or directory Reproducible: Always Steps to Reproduce: 1. Stop apache2 if it is currently running. 2. Emerge /usr/portage/www-apache/mod_mono/mod_mono-1.0.2.ebuild 3. Edit /etc/conf.d/apache2 and add "-D MONO" to APACHE2_OPTS as described in the ebuild. 4. Start apache2. Actual Results: Got the error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/70_mod_mono.conf: Cannot load /usr/lib/apache2/extramodules/mod_mono.so into server: /usr/lib/apache2/extramodules/mod_mono.so: cannot open shared object file: No such file or directory Expected Results: apache2 should start sucessfully. Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7-mh1) ================================================================= System uname: 2.6.7-mh1 i686 Pentium II (Klamath) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://192.168.1.3/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm avi berkdb bitmap-fonts cdr crypt encode f77 foomaticdb gd gdbm gif gpm imap imlib java jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam perl png python quicktime readline sdl slang spell ssl svga tcpd x86 xml2 xmms xprint xv zlib"
Created attachment 41442 [details] mod_mono-1.0.2.ebuild Installs mod_mono.so.0.0.0 with correct permissions (755) and creates two symlinks to it.
Okay, just added 1.0.2-r1 with these fixes. Thanks for the great bug report.