(/usr/portage/dev-php/mod_php/mod_php-4.3.2-r3.ebuild) >>> Unpacking source... Due to some previous bloopers with PHP and slotting, you may have multiple copies of mod_php installed. Please look at the autoclean output at the end of the emerge and unmerge all but relevant copies. Apache2 only detected You have the xml USE flag turned off. Previously this disabled XML support in PHP. However PEAR has a hard dependancy on it, so they are now enabled. >>> Unpacking php-4.3.2.tar.bz2 to /var/tmp/portage/mod_php-4.3.2-r3/work >>> Source unpacked. java berkdb BerkDB is disabled due to DB4 issues and changes in PHP 4.3.2 presently. If you need BerkDB support, please do NOT upgrade at this time crypt flash flash x86 gdbm java X pdflib pdflib png jpeg tiff mysql creating cache ./config.cache checking host system type... i586-pc-linux-gnu Updated main/php_version.h checking for gcc... gcc checking whether the C compiler (gcc -march=i586 -mcpu=k6-2 -O2 -pipe ) works... yes checking whether the C compiler (gcc -march=i586 -mcpu=k6-2 -O2 -pipe ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... gawk checking for bison... bison -y checking bison version... 1.35 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking flex version... 2.5.4 (ok) checking for pthreads_cflags... checking for pthreads_lib... [1mConfiguring SAPI modules [m checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for member fd in BUFF *... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... yes checking for Caudium support... no checking for CLI build... yes checking for embedded SAPI library support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for webjames... no checking for chosen SAPI module... apache2handler [1mRunning system checks [m checking for missing declarations of reentrant functions... done checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... no checking for __yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for dlopen... yes checking for sin in -lm... yes checking for res_search... no checking for __res_search... no checking for res_search in -lresolv... yes checking for res_search in -lbind... no checking for __res_search in -lbind... no checking for res_search in -lsocket... no checking for __res_search in -lsocket... no checking for inet_aton... yes checking for dn_skipname... no checking for __dn_skipname... no checking for dn_skipname in -lresolv... no checking for __dn_skipname in -lresolv... yes checking for dn_skipname in -lbind... no checking for __dn_skipname in -lbind... no checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for ApplicationServices/ApplicationServices.h... no checking for sys/types.h... yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for mach-o/dyld.h... no checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for unistd.h... yes 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/mod_php-4.3.2-r3 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/mod_php-4.3.2-r3 to / >>> md5 src_uri ;-) php-4.3.2.tar.bz2 Don't know why but I hadn't such problems while emerging previous version (4.3.2-r2) Reproducible: Always Steps to Reproduce: 1. emerge mod_php 2. 3. Actual Results: emerge info: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 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="/home/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl apache2 clamav curl dnd flash fltk gd gstreamer jikes ladcca maildir memlimit oav samba sasl slp tiff usb wmf -gnome" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe" CXXFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
*** This bug has been marked as a duplicate of 23751 ***