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"
Duplicate of 46482 with no additional information.
*** This bug has been marked as a duplicate of 46482 ***