When I want to emerge php or mod_php, it fails during the configure phase (in the system checks). If I untar the source archive and do a ./configure, it works. Same result after reboot, emerge sync, with empty CC, CFLAGS or USE variables. Reproducible: Always Steps to Reproduce: 1.emerge php or emerge php_mod 2. 3. Variables: ----------------- USE="alsa apache2 avi crypt cups dvd esd gif -gnome gpm gtk gtk2 imap imlib ipv6 jpeg java kde -ldap libwww mmx mozilla mpeg mysql ncurses opengl oggvorbis pam perl png pnp python qt quicktime readline samba ssl tetex tiff truetype X xml xmms xv " CFLAGS="-march=athlon -O2 -pipe" emerge trace: ------------------ ... checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for fopencookie... yes configure: error: can not run test program while cross compiling !!! ERROR: dev-php/php-4.3.2 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed
oh my god, why did you reboot ? this isn't windoof
*** This bug has been marked as a duplicate of 23751 ***