Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24689 - php / mod_php 4.3.2 fails in configure (configure: error: can not run test program while cross compiling)
Summary: php / mod_php 4.3.2 fails in configure (configure: error: can not run test pr...
Status: RESOLVED DUPLICATE of bug 23751
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 12:03 UTC by mindtech
Modified: 2005-07-17 13:06 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 mindtech 2003-07-17 12:03:37 UTC
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
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-17 12:09:03 UTC
oh my god, why did you reboot ?

this isn't windoof
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-17 12:09:09 UTC

*** This bug has been marked as a duplicate of 23751 ***