Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30403 - mod_php-4.3.3-r1 configure fails to detect installed libraries
Summary: mod_php-4.3.3-r1 configure fails to detect installed libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 09:14 UTC by Corvus
Modified: 2003-10-25 21:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,55.70 KB, text/plain)
2003-10-05 23:28 UTC, Corvus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Corvus 2003-10-05 09:14:30 UTC
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
Comment 1 SpanKY gentoo-dev 2003-10-05 18:35:13 UTC
please attach the config.log file from the build directory
Comment 2 Corvus 2003-10-05 23:28:36 UTC
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
Comment 3 Corvus 2003-10-06 02:48:46 UTC
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
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-25 21:08:42 UTC
fixed in cvs.