Running Mkbootstrap for ModPerl::Util () chmod 644 Util.bs gcc -c -I/var/tmp/portage/mod_perl-1.99.09/work/mod_perl-1.99_09/src/modules/perl -I/var/tmp/portage/mod_perl-1.99.09/work/mod_perl-1.99_09/xs -I/usr/include/apache2 -fno-strict-aliasing -DMOD_PERL -DMP_COMPAT_1X -g -DMP_DEBUG -DMP_TRACE -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I/usr/lib/perl5/5.8.1/i686-linux/CORE" Util.c cp Util.bs ../../../blib/arch/Apache2/auto/ModPerl/Util/Util.bs chmod 644 ../../../blib/arch/Apache2/auto/ModPerl/Util/Util.bs rm -f ../../../blib/arch/Apache2/auto/ModPerl/Util/Util.so LD_RUN_PATH="" gcc -shared -L/usr/local/lib Util.o -L/usr/local/lib -o ../../../blib/arch/Apache2/auto/ModPerl/Util/Util.so chmod 755 ../../../blib/arch/Apache2/auto/ModPerl/Util/Util.so make[3]: Leaving directory `/var/tmp/portage/mod_perl-1.99.09/work/mod_perl-1.99_09/WrapXS/ModPerl/Util' make[2]: Leaving directory `/var/tmp/portage/mod_perl-1.99.09/work/mod_perl-1.99_09/WrapXS/ModPerl' make[1]: Leaving directory `/var/tmp/portage/mod_perl-1.99.09/work/mod_perl-1.99_09/WrapXS' !!! ERROR: dev-perl/mod_perl-1.99.09 failed. !!! Function src_compile, Line 69, Exitcode 2 !!! (no error message)
please provide #emerge info and more infos since i can't find an error-msg
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx mpeg ncurses nls png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl apache2 gtk2 openssh php tiff -pdflib"
it has to be the autoconf or the CFLAGS since i tried the code that i downloaded from apache.org and that one did work.
mod_perl 1.99_10 needed to compile with perl 5.8.1 : http://perl.apache.org/dist/mod_perl-1.99_10.tar.gz http://perl.apache.org/dist/mod_perl-2.0-current/Changes : The Perl-5.8.0 crypt() workaround is now used only if 5.8.0 is used, since 5.8.1-tobe/5.9.0-tobe(blead-perl) won't compile with it. [Geoffrey Young] related : http://bugs.gentoo.org/show_bug.cgi?id=30087
Created attachment 19861 [details] mod_perl 1.99.10 ebuild Ebuild for mod_perl 1.99.10. This ebuild works with Perl 5.8.1-r2
I'm experiencing the same bug. The thing is, mholzer, there is no error message on compile - it just fails without telling us why. Scrolling up provides one with no further information - all that one can see is successful compiles. Quite strange, I think.
This error happens for me just after writing the Makefiles. Then compiling goes on for a while, then finally exits (with original 1.99.10.ebuild and also the ebuild attached below by David B.): Can't locate ModPerl/BuildMM.pm in @INC (@INC contains: blib/lib/Apache2 /tmp/portage/mod_perl-1.99.10/work/mod_perl-1.99_10/Apache-Test/lib /etc/perl /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i686-linux /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.1/i686-linux /usr/lib/perl5/5.8.1 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 .). BEGIN failed--compilation aborted. make: *** [glue_pods] Error 2 make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs....
(of course) BuildMM.pm is not located in any of the searched locations. Instead, it is in: /tmp/portage/mod_perl-1.99.10/work/mod_perl-1.99_10/blib/lib/Apache2/ModPerl/BuildMM.pm /tmp/portage/mod_perl-1.99.10/work/mod_perl-1.99_10/lib/ModPerl/BuildMM.pm
I had MAKEOPTS="-j5" (using distcc) changing MAKEOPTS="-j1" in /etc/make.conf or command line: MAKEOPTS="-j1" emerge mod_perl allowed building and installing successfully with 1.99.10
Added 1.99.11 today, and disabled parallel make. Thanks for the detective work.