Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 16426

Summary: mod_php configure error
Product: Gentoo Linux Reporter: Kevin Williams <kevwil>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: configure script log file

Description Kevin Williams 2003-02-26 17:00:27 UTC
When I try to compile mod_php, I get the following error: 
 
configure: error: can not run test program while cross compiling 
 
!!! ERROR: dev-php/mod_php-4.3.1 failed. 
!!! Function src_compile, Line 220, Exitcode 1 
!!! bad ./configure 
 
 
My make.conf file looks like this: 
 
USE="acpi alsa apache2 apm arts berkdb cdr crypt cups encode gd gif -gnome gtk 
-gtk2 imap innodb java jikes junit kde mmx mysql ncurses oav oggvorbis opengl pam 
pdflib perl php pic png python qt qtmt readline samba sasl sdl slp snmp socks5 spell 
sse ssl truetype usb X xml xml2 zlib" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -falign-functions=4 -fomit-frame-pointer 
-frerun-loop-opt -funroll-loops" 
CXXFLAGS="${CFLAGS}" 
PORTDIR_OVERLAY=/usr/local/portage 
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/3/share/config /var/MailRoot 
-/var/MailRoot/bin -/var/MailRoot/docs"
Comment 1 SpanKY gentoo-dev 2003-02-26 20:52:57 UTC
please post the config.log file from the build directory 
Comment 2 Kevin Williams 2003-02-27 10:41:17 UTC
Created attachment 8780 [details]
configure script log file

per your request
Comment 3 SpanKY gentoo-dev 2003-03-03 04:34:16 UTC

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