mod_php-4.3.3-r1 fails to compile on one of my systems doe to configure failing in the Configuring extensions section, with ... checking for MCAL support... no checking for mcrypt support... yes checking for mcrypt_module_open in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... no checking for init_mcrypt in -lmcrypt... no configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed. !!! ERROR: dev-php/mod_php-4.3.3-r1 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed --- make.conf: -- CFLAGS="-march=pentium4 -O2 -pipe" -- MAKEOPTS="-j2" --- emerge -pv gcc glib glibc automake autoconf libmcrypt apache mod_php ... [ebuild R ] sys-devel/gcc-3.2.3-r2 -static +nls -bootstrap +java -build [ebuild R ] dev-libs/glib-2.2.3 +doc -debug [ebuild R ] sys-libs/glibc-2.3.2-r1 +nls -pic -build -nptl [ebuild R ] sys-devel/automake-1.7.5-r2 [ebuild R ] sys-devel/autoconf-2.57-r1 [ebuild R ] dev-libs/libmcrypt-2.5.7 [ebuild R ] net-www/apache-1.3.28 +pam [ebuild U ] dev-php/mod_php-4.3.3-r1 [4.3.2-r4] -apache2 +X +crypt -curl -firebird +flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 -berkdb --- if I try to compile mod_php with USE="-crypt" it fails at the next configure check, for Ming, without ming (USE=" -crypt -flash") it fails at the checks for the mysql librarys so something with this configure checking has gone badly wrong somehow I already updated gcc and glib, recompiled automake, autoconf, libmcrypt and libmhash and did a revdep-rebuild, all worked, but the bug when trying to compile mod_php is still there any ideas? Eric
please attach the config.log file from the build directory
Created attachment 18849 [details] config.log sorry, could have thought about that earlier ;) here it is. Looks like there is a problem with the java libs, but those have been detected as ok right before, and by revdep-rebuild. Im now checking if re-installing the java-jdk fixes this issue: ---- emerge -pvD blackdown-jdk ... [ebuild R ] dev-java/blackdown-jdk-1.4.1 +doc ---- emerge blackdown-jdk ...ok ---- emerge mod_php ... still fails with the same error, here is some more config output: (which isnt mentioned in the log) ... checking for IRCG support... no checking for Java support... yes checking Java Jar location... /opt/blackdown-jdk-1.3.1/bin/jar cf checking Java C location... /opt/blackdown-jdk-1.3.1/bin/javac checking Checking for libjava... /opt/blackdown-jdk-1.3.1/jre/lib/i386 checking for LDAP support... no checking whether to enable multibyte string support... yes checking whether to enable multibyte regex support... yes checking for MCAL support... no checking for mcrypt support... yes checking for mcrypt_module_open in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... no checking for init_mcrypt in -lmcrypt... no configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed. hrr :-( - Eric
I think I got it ;) An old java-version, blackdown-jdk-1.3.1 was obviously still installed and active, >> java-config --set-system-vm=blackdown-jdk-1.4.1 fixed the problem, mod_php compiles now. Since the configure fails with such a cryptive error, maybe the ebuild could check the active java version for integrity? thnx Eric
fixed in cvs.