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"
please post the config.log file from the build directory
Created attachment 8780 [details] configure script log file per your request
*** This bug has been marked as a duplicate of 14397 ***