Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110724 - mod_php fails to compile as it thinks I have a cross compiler...
Summary: mod_php fails to compile as it thinks I have a cross compiler...
Status: RESOLVED DUPLICATE of bug 86107
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-28 09:15 UTC by Hamish Marson
Modified: 2005-10-28 10:13 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 Hamish Marson 2005-10-28 09:15:30 UTC
mod_php-4.4.0-r3 (And r2,r1 and -4.4.0) all fails to compile. They seem to think
I'm running a cross compiler (I'm not), yet I have an x86 with no corss
compiler. Other packages emerge fine.

e.g.
iceman apache2 # USE=x86 emerge mod_php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/mod_php-4.4.0-r3 to /
>>> md5 files   ;-) mod_php-4.3.11-r1.ebuild
>>> md5 files   ;-) mod_php-4.4.0-r2.ebuild
>>> md5 files   ;-) mod_php-4.4.0-r3.ebuild
>>> md5 files   ;-) mod_php-4.3.11.ebuild
>>> md5 files   ;-) mod_php-4.4.0-r1.ebuild
>>> md5 files   ;-) mod_php-4.4.0.ebuild
>>> md5 files   ;-) files/php4.3.11-imap-symlink.diff
>>> md5 files   ;-) files/digest-mod_php-4.3.11-r1
>>> md5 files   ;-) files/stdint.diff
>>> md5 files   ;-) files/digest-mod_php-4.4.0-r2
>>> md5 files   ;-) files/70_mod_php.conf
>>> md5 files   ;-) files/digest-mod_php-4.4.0-r3
>>> md5 files   ;-) files/php-4.3.11-flash.patch
>>> md5 files   ;-) files/mod_php-4.3.4-amd64hack.diff
>>> md5 files   ;-) files/mod_php.conf
>>> md5 files   ;-) files/with-iodbc.diff
>>> md5 files   ;-) files/php4.3.11-pcre-security.patch
>>> md5 files   ;-) files/php4.4.0-imap-symlink.diff
>>> md5 files   ;-) files/digest-mod_php-4.3.11
>>> md5 files   ;-) files/php4.4.0-pcre-security.patch
>>> md5 files   ;-) files/php-4.3.11-gmp.patch
>>> md5 files   ;-) files/mod_php-4.3.5-apache1security.diff
>>> md5 files   ;-) files/digest-mod_php-4.4.0-r1
>>> md5 files   ;-) files/digest-mod_php-4.4.0
>>> md5 files   ;-) files/4.4.0-a1/70_mod_php.conf
>>> md5 files   ;-) files/4.4.0-a2/70_mod_php.conf
>>> md5 files   ;-) files/4.3.10-r1/70_mod_php.conf
>>> md5 files   ;-) files/4.3.11-r2/70_mod_php.conf
>>> md5 src_uri ;-) php-4.4.0.tar.bz2
>>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch
>>> md5 src_uri ;-) php-4.3.6-includepath.diff
>>> md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
>>> Unpacking source...
 * Due to some previous bloopers with PHP and slotting, you may have
 * multiple instances of mod_php installed. Please look at the autoclean
 * output at the end of the emerge and unmerge all but relevant
 * instances.
 * Apache2 only detected
 * If you have both freetds and mssql in your USE flags, parts of PHP
 * may not behave correctly, or may give strange warnings. You have
 * been warned! It's recommended that you pick ONE of them. For sybase
 * support, chose 'freetds'. For mssql support choose 'mssql'.
>>> Unpacking php-4.4.0.tar.bz2 to /var/tmp/portage/mod_php-4.4.0-r3/work
 * uclibctoolize() is depreciated, please just use elibtoolize()!
 * Running elibtoolize in: php-4.4.0
 *   Applying portage-1.4.1.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying uclibc-conf-1.2.0.patch ...
 * Applying mod_php-4.3.5-apache1security.diff ...                             
                                                                               
                                       [ ok ]
>>> Unpacking php-pcrelib-new-secpatch.tar.bz2 to
/var/tmp/portage/mod_php-4.4.0-r3/work
 * Applying php4.4.0-pcre-security.patch ...                                   
                                                                               
                                       [ ok ]
 * Updating bundled PCRE library
>>> Source unpacked.
 * Apache2 MPM: prefork
 * Enabling NBDM
 * Enabling DB4
 * Using INI file: /etc/php/apache2-php4/php.ini
 * econf: updating php-4.4.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating php-4.4.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu --with-apxs2=/usr/sbin/apxs2
--disable-cli --without-pear --with-ndbm=/usr --with-db4=/usr --with-mcrypt=/usr
--with-mhash=/usr --without-interbase --without-ming --without-swf
--without-sybase --with-gdbm=/usr --without-fdftk --without-java --without-mcal
--without-unixODBC --with-pgsql=/usr --with-snmp=/usr --enable-ucd-snmp-hack
--with-xpm-dir=/usr/X11R6 --without-gmp --without-mssql --without-crack
--without-pdflib --with-gd --enable-gd-native-ttf --with-png=/usr
--with-png-dir=/usr --with-jpeg=/usr --with-jpeg-dir=/usr --enable-exif
--with-tiff=/usr --with-tiff-dir=/usr --with-mysql=/usr
--with-mysql-sock=/var/run/mysqld/mysqld.sock --with-freetype-dir=/usr
--with-ttf=/usr --with-t1lib=/usr --with-gettext --with-pspell=/usr
--with-openssl=/usr --without-imap --with-ldap=/usr --with-dom=/usr
--with-dom-xslt=/usr --with-dom-exslt=/usr --without-kerberos --with-pam
--disable-memory-limit --enable-ipv6 --without-yaz --disable-debug
--without-curl --enable-dbx --with-zlib=/usr --with-zlib-dir=/usr
--with-sablot=/usr --enable-xslt --with-xslt-sablot --with-xmlrpc --enable-wddx
--with-xml --enable-mbstring=all --enable-mbregex --with-bz2=/usr --with-cdb
--enable-pcntl --enable-bcmath --enable-calendar --enable-dbase --enable-filepro
--enable-ftp --with-mime-magic=/usr/share/misc/file/magic.mime --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-iconv --enable-shmop
--enable-dio --enable-yp --without-ncurses --without-readline
--enable-inline-optimization --enable-track-vars --enable-trans-sid
--enable-versioning --with-config-file-path=/etc/php/apache2-php4
--libdir=/usr/lib/php --without-pear
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
Updated main/php_version.h
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
-L/usr/X11R6/lib -ltiff -L/usr/lib) works... yes
checking whether the C compiler (gcc -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
-L/usr/X11R6/lib -ltiff -L/usr/lib) 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 re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.875 (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 whether byte ordering is bigendian... unknown
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... 
checking for pthreads_lib... 

Configuring SAPI modules
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 mod_charset compatibility option... no
checking for Apache 2.0 filter-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... no
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

Running system checks
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 inttypes.h... yes
checking for stdint.h... yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
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 dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.4.0-r3/work/php-4.4.0/config.log

!!! ERROR: dev-php/mod_php-4.4.0-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

iceman apache2 # 

iceman apache2 # cat /var/tmp/portage/mod_php-4.4.0-r3/work/php-4.4.0/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1656: checking host system type
configure:1756: checking for gcc
configure:1869: checking whether the C compiler (gcc -O2 -march=i686 -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-pthread  -L/usr/X11R6/lib -ltiff -L/usr/lib) works
configure:1885: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:1911: checking whether the C compiler (gcc -O2 -march=i686 -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-pthread  -L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler
configure:1916: checking whether we are using GNU C
configure:1925: gcc -E conftest.c
configure:1944: checking whether gcc accepts -g
configure:1977: checking whether gcc and cc understand -c and -o together
configure:1992: gcc -c conftest.c -o conftest.o 1>&5
configure:1993: gcc -c conftest.c -o conftest.o 1>&5
configure:1998: cc -c conftest.c 1>&5
configure:2000: cc -c conftest.c -o conftest.o 1>&5
configure:2001: cc -c conftest.c -o conftest.o 1>&5
configure:2028: checking how to run the C preprocessor
configure:2049: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2109: checking for AIX
configure:2136: checking if compiler supports -R
configure:2151: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -R /usr/lib  -lxmlparse -lxmltok 1>&5
gcc: unrecognized option `-R'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
/usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 2144 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2169: checking if compiler supports -Wl,-rpath,
configure:2184: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -Wl,-rpath,/usr/lib  -lxmlparse
-lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:2210: checking for re2c
configure:2239: checking whether ln -s works
configure:2264: checking for gawk
configure:2298: checking for bison
configure:2332: checking bison version
configure:2342: checking for flex
configure:2376: checking for yywrap in -lfl
configure:2395: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lfl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:2419: checking lex output file root
configure:2440: checking whether yytext is a pointer
configure:2459: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok -lfl 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:2483: checking for working const
configure:2537: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:2562: checking flex version
configure:2578: checking whether byte ordering is bigendian
configure:2671: checking whether to force non-PIC code in shared modules
configure:2808: checking for pthreads_cflags
configure:2871: checking for pthreads_lib
configure:3002: checking for AOLserver support
configure:3243: checking for Apache 1.x module support via DSO through APXS
configure:3546: checking for Apache 1.x module support
configure:4381: checking for mod_charset compatibility option
configure:4518: checking for Apache 2.0 filter-module support via DSO through APXS
configure:5340: checking for Apache 2.0 handler-module support via DSO through APXS
configure:6163: checking for Caudium support
configure:6493: checking for CLI build
configure:6553: checking for embedded SAPI library support
configure:6756: checking for Zeus ISAPI support
configure:6986: checking for NSAPI support
configure:7327: checking for PHTTPD support
configure:7556: checking for Pi3Web support
configure:7885: checking for Roxen/Pike support
configure:8154: checking for Servlet support
configure:8672: checking for thttpd
configure:8898: checking for TUX
configure:9132: checking for webjames
configure:9553: checking for chosen SAPI module
configure:10458: checking for missing declarations of reentrant functions
configure:10467: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:10492: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:10517: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:10542: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:10567: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:10591: checking for sendmail
configure:10632: checking whether system uses EBCDIC
configure:10724: checking for socket
configure:10752: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:10981: checking for htonl
configure:11009: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:11238: checking for gethostname
configure:11266: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:11495: checking for gethostbyaddr
configure:11523: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:11752: checking for yp_get_default_domain
configure:11780: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccmqWagr.o(.text+0xa): In function `main':
: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11757 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char yp_get_default_domain(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_yp_get_default_domain) || defined
(__stub___yp_get_default_domain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }
configure:11798: checking for __yp_get_default_domain
configure:11826: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccE2cnpG.o(.text+0xa): In function `main':
: undefined reference to `__yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11803 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __yp_get_default_domain(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___yp_get_default_domain) || defined
(__stub_____yp_get_default_domain)
choke me
#else
__yp_get_default_domain();
#endif

; return 0; }
configure:11864: checking for yp_get_default_domain in -lnsl
configure:11883: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lnsl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:12010: checking for dlopen
configure:12038: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:12268: checking for sin in -lm
configure:12287: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm   -lxmlparse -lxmltok 1>&5
configure:12280: warning: conflicting types for built-in function `sin'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:12321: checking for res_search
configure:12349: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc6tZd7H.o(.text+0xa): In function `main':
: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12326 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_search(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_search) || defined (__stub___res_search)
choke me
#else
res_search();
#endif

; return 0; }
configure:12367: checking for __res_search
configure:12395: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc8nd8VW.o(.text+0xa): In function `main':
: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12372 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __res_search(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___res_search) || defined (__stub_____res_search)
choke me
#else
__res_search();
#endif

; return 0; }
configure:12433: checking for res_search in -lresolv
configure:12452: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok
1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:12569: checking for res_search in -lbind
configure:12588: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 12577 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:12608: checking for __res_search in -lbind
configure:12627: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 12616 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {
__res_search()
; return 0; }
configure:12705: checking for res_search in -lsocket
configure:12724: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lsocket  -lm  -lxmlparse -lxmltok
1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 12713 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:12744: checking for __res_search in -lsocket
configure:12763: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lsocket  -lm  -lxmlparse -lxmltok
1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 12752 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {
__res_search()
; return 0; }
configure:12857: checking for inet_aton
configure:12885: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:13253: checking for dn_skipname
configure:13281: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccAk5l1W.o(.text+0xa): In function `main':
: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13258 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dn_skipname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dn_skipname) || defined (__stub___dn_skipname)
choke me
#else
dn_skipname();
#endif

; return 0; }
configure:13299: checking for __dn_skipname
configure:13327: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccwlbZWb.o(.text+0xa): In function `main':
: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13304 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __dn_skipname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __dn_skipname();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___dn_skipname) || defined (__stub_____dn_skipname)
choke me
#else
__dn_skipname();
#endif

; return 0; }
configure:13365: checking for dn_skipname in -lresolv
configure:13384: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok
1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccsTJNKr.o(.text+0xa): In function `main':
: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13373 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {
dn_skipname()
; return 0; }
configure:13404: checking for __dn_skipname in -lresolv
configure:13423: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok
1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:13501: checking for dn_skipname in -lbind
configure:13520: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 13509 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {
dn_skipname()
; return 0; }
configure:13540: checking for __dn_skipname in -lbind
configure:13559: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 13548 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __dn_skipname();

int main() {
__dn_skipname()
; return 0; }
configure:13647: checking for ANSI C header files
configure:13660: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13755: checking for dirent.h that defines DIR
configure:13768: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:13793: checking for opendir in -ldir
configure:13812: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -ldir  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 13801 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:13878: checking for fclose declaration
configure:13887: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:13964: checking for inttypes.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdint.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dirent.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ApplicationServices/ApplicationServices.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:53: ApplicationServices/ApplicationServices.h: No such file or
directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:13964: checking for sys/param.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/types.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/time.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for netinet/in.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for alloca.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/inet.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/nameser.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for assert.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for crypt.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for fcntl.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for grp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ieeefp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:13964: checking for langinfo.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for limits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for locale.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for monetary.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for mach-o/dyld.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:13964: checking for netdb.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for pwd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for resolv.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for signal.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdarg.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdlib.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for string.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for syslog.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/file.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mman.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mount.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/poll.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/resource.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/select.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/socket.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statvfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/vfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:13964: checking for sys/varargs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:13964: checking for sys/wait.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unistd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unix.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:18: unix.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <unix.h>
configure:13964: checking for utime.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/utsname.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/ipc.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dlfcn.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:14003: checking for fopencookie
configure:14031: gcc -o conftest -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found (try using -rpath or -rpath-link)
configure:14062: gcc -c -O2 -march=i686 -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
conftest.c 1>&5
configure:14054:1: warning: "_GNU_SOURCE" redefined
<command line>:10:1: warning: this is the location of the previous definition




Reproducible: Always
Steps to Reproduce:
1. emerge mod_php

Actual Results:  
configure: error: can not run test program while cross compiling

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.4.0-r3/work/php-4.4.0/config.log

!!! ERROR: dev-php/mod_php-4.4.0-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
Should have emerged

iceman apache2 # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss
encode fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib
ipv6 jpeg kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls
ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime
readline samba sdl snmp spell sse sse2 ssl tcpd tiff truetype truetype-fonts
type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

iceman apache2 #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 10:12:21 UTC
Please, search for duplicates before filing a bug. Also, this is NOT a Gentoo
Infrastructure bug.

Re-assign.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 10:13:44 UTC
> warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not
found 

INVALID bug; revdep-rebuild is your friend.

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