Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46482 - php-4.3.5 emerge fails(configure)
Summary: php-4.3.5 emerge fails(configure)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 46484 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-01 07:15 UTC by Scott Gelin
Modified: 2004-04-04 03:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Gelin 2004-04-01 07:15:55 UTC
When I attempt to emerge php(or mod_php for that matter) it fails on configure.
emerge  php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/php-4.3.5 to /
>>> md5 src_uri ;-) php-4.3.5.tar.bz2
>>> Unpacking source...
 * You have the xml USE flag turned off. Previously this
 * disabled XML support in PHP. However PEAR has a hard
 * dependancy on it, so they are now enabled.
>>> Unpacking php-4.3.5.tar.bz2 to /var/tmp/portage/php-4.3.5/work
>>> Source unpacked.
java
!alpha
 * JDK version: 1.4.1
berkdb
 * Enabling NBDM
 * Enabling DB4
x86
x86
x86
!alpha
X
pdflib
png
jpeg
mysql
truetype
mysql
ncurses
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer   -L/usr/X11R6/lib -ltiff -L/usr/lib) works... yes
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer   -L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler... yes
checking whether we are using GNU C... yes

......
some 50 lines later
......
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/php-4.3.5 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

Reproducible: Always
Steps to Reproduce:
1. emerge php
2.
3.

Actual Results:  
emerge exits

Expected Results:  
php should be installed

# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.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="3dnow X alsa apm avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv
zlib"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-04-01 08:02:24 UTC
may be related with bug #23751
Comment 2 Scott Gelin 2004-04-01 08:11:18 UTC
# tail config.log
configure:13381: checking for fopencookie
configure:13409: gcc -o conftest -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer 
   -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: w
arning: libssl.so.0.9.6, needed by /usr/lib/libxmlparse.so, not found (try using
 -rpath or -rpath-link)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: w
arning: libcrypto.so.0.9.6, needed by /usr/lib/libxmlparse.so, not found (try us
ing -rpath or -rpath-link)
configure:13440: gcc -c -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer   conftes
t.c 1>&5


Comment 3 Scott Gelin 2004-04-01 09:27:25 UTC
did a revdep-rebuild and it fixed the library errors...thanks
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-04-01 12:54:25 UTC
*** Bug 46484 has been marked as a duplicate of this bug. ***
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-04 03:01:20 UTC
closing as per note from user about it being library errors.