Every time I attempt to emerge mod_php-4.3.2 (any of them) I receive: checking for fopencookie... yes configure: error: can not run test program while cross compiling !!! ERROR: dev-php/mod_php-4.3.2-r4 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed Interesting is that on some of my machines I have a cross compiler but definately NOT this one. Anyway, the error was along the lines of "can't find unix.h". Okay so I find unix.h in the linux kernel sources and put it in the include path, then it can't find varargs.h, then ieeefp.h, and the list goes on. Tried to solve but it just keeps bombing out. Lastly, I'm attempting to build against apache2 but at this stage of the configure script it doesn't seem to play a factor. Reproducible: Always Steps to Reproduce: 1.emerge mod_php 2. 3. Actual Results: configure script dies Expected Results: configure script does not die root@toad include # emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /opt/tomcat/conf" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl spell svga truetype xmms xv gdbm berkdb slang readline java gpm tcpd pam libwww perl python esd imlib -X -gtk -gnome -alsa -qt ssl mysql sasl -ldap xml xml2 zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CXXFLAGS="-march=pentium2 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Created attachment 15859 [details] Config.log from the php build
*** This bug has been marked as a duplicate of 23751 ***