Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39042 - mod_php fails during configure - saying libiconv isn't present
Summary: mod_php fails during configure - saying libiconv isn't present
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 08:30 UTC by Branko Ivanovic
Modified: 2004-01-23 09:14 UTC (History)
0 users

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


Attachments
Config.log file when trying to emerge mod_php (config.log,51.26 KB, text/plain)
2004-01-23 06:43 UTC, Branko Ivanovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Ivanovic 2004-01-22 08:30:50 UTC
When I try to emerge mod_php-4.3.4-r2, during configure phase first I get error that gettext isn't installed (but it is). With USE="-nls" I get past that, but then configure claims that libiconv should be installed. Iconv is included in glibc.

When I go in /var/tmp/portage/mod-php4.3.4/work/php-4.3.4 directory and run configure manually, everything seems OK. I've tried to reduce my USE variable in /etc/make.conf to just "-X -nls", but to no success.

Here is verbose output of USE="-nls" emerge -pv mod_php

USE="-nls" emerge -pv mod_php                                                                                 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-php/mod_php-4.3.4-r2  -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 -yaz +berkdb
[ebuild  N    ] dev-php/php-4.3.4-r3  +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 -yaz +berkdb +ncurses +readline


Reproducible: Always
Steps to Reproduce:
1. USE="-nls" emerge mod_php
2.
3.

Actual Results:  
checking for GNU gettext support... no
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for iconv support... yes
checking for iconv... no
checking for libiconv... no
configure: error: Please reinstall the iconv library.
 
!!! ERROR: dev-php/mod_php-4.3.4-r2 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed



Morfeus root # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3)
=================================================================
System uname: 2.4.22-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif
mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-22 13:26:45 UTC
attach your config.log
php is a major PITA in reporting the wrong problems sometimes.
Comment 2 Branko Ivanovic 2004-01-23 06:43:28 UTC
Created attachment 24285 [details]
Config.log file when trying to emerge mod_php

command was: USE="-nls informix" emerge -v mod_php
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-23 06:53:42 UTC
your system is badly inconsitant.

firstly you need to run revdep-rebuild to rebuild things since you upgrade to OpenSSL 0.9.7 (please remember to read the postinst messages, they are important sometimes...).

Next of all, why the hell do you have a /usr/local/lib/libpthread.so.0 ?
if you need it for something, it MUST be linked against the same major version of glibc as you are using (it's linked against 2.0 at the moment)
Comment 4 Branko Ivanovic 2004-01-23 07:50:54 UTC
revdep-rebuild solved the problem. Thanks a lot!!

PS. libpthread in /usr/local/lib is from Informix installation.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-23 09:14:48 UTC
even if it's from informix, you'll need to have the stuff linked against the same version of glibc as you are using otherwise you may suffer some strange crashes later on.