Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7121 - php-4.2.2-r1.ebuild not compiling
Summary: php-4.2.2-r1.ebuild not compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-27 09:41 UTC by Nathan W. Labadie
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the complete build log (php.txt,91.67 KB, text/plain)
2002-08-28 02:43 UTC, Martin Holzer (RETIRED)
Details
this is an ebuild log of the configure and the build (php-ebuild_log.txt,89.30 KB, text/plain)
2002-08-30 08:09 UTC, Alex Combas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan W. Labadie 2002-08-27 09:41:05 UTC
I'm getting the following error when compiling php-4.2.2-r1.ebuild:

---snip---
make[4]: Entering directory
`/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql/libmysql'
gcc -I. -I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql/libmysql
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/main
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/Zend -I/usr/include/libxml2
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql/libmysql
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/xml/expat 
-I/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/TSRM -march=i686 -O3 -pipe  -c
libmysql.c && touch libmysql.lo
In file included from libmysql.c:5:
global.h:256: warning: redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared here
global.h:258: warning: redefinition of `ulong'
/usr/include/sys/types.h:150: warning: `ulong' previously declared here
In file included from libmysql.c:12:
m_string.h:180: parse error before `__extension__'
m_string.h:180: parse error before `&&'
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/php-4.2.2-r1/work/php-4.2.2/ext'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 121, Exitcode 2
!!! compile problem
---snip---
Comment 1 Olav Kolbu 2002-08-27 12:02:13 UTC
Some additional info to help track this one down.  This breaks when HAVE_STRPBRK isn't defined. Add a -DHAVE_STRPBRK to that gcc-line and it works.   The reason why HAVE_STRPBRK isn't defined, even though it should have been, appears to be java-related. config.log for php-4.2.2 shows quite a few of the following failures:  configure:38753: checking for strpbrk configure:38781: gcc -o conftest -march=i686 -O3 -pipe   -Wl,-rpath,/opt/blackdown-jdk-1.3.1/./jre/lib/i386/classic -L/opt/blackdown-jdk-1.3.1/./jre/lib/i386/cl assic -Wl,-rpath,/opt/blackdown-jdk-1.3.1/./jre/lib/i386/server -L/opt/blackdown -jdk-1.3.1/./jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.3.1/./jre/lib/i 386/native_threads -L/opt/blackdown-jdk-1.3.1/./jre/lib/i386/native_threads -Wl, -rpath,/opt/blackdown-jdk-1.3.1/./jre/lib/i386 -L/opt/blackdown-jdk-1.3.1/./jre/ lib/i386 conftest.c -lmhash -lldap -llber -ljava -lcrypt -lpam -lgmp -lz -lm -lz  -lxml2 -ldb-3 -lgdbm -lbz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `jdk_sem_post' /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `jdk_waitpid' /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `jdk_pthread_sigmask' /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `fork1' /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `jdk_sem_wait' /opt/blackdown-jdk-1.3.1/./jre/lib/i386/libjava.so: undefined reference to `jdk_sem_init' collect2: ld returned 1 exit status   The same error bombs almost every "does this function exist" check.  Also, what is this noop doing in the .ebuild file:                  cp configure configure.orig                 cat configure.orig | \                         sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \                         > configure  As far as I can tell, the replacement is identical to the stuff being replaced. 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-08-28 01:17:59 UTC
my problem is in configure it

it stops on java support

installed version: dev-java/blackdown-jdk  1.3.1-r7
                   dev-java/ibm-jre  1.3.1-r1

>>> emerge dev-php/php-4.2.2-r1 to /
>>> md5 ;-) php-4.2.2.tar.bz2
>>> Unpacking source...
>>> Unpacking php-4.2.2.tar.bz2
>>> Source unpacked.
readline
pam
nls
ssl
gdbm
berkdb
mysql
tiff
qt
libwww
xml2
crypt
java
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i586-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
Updated php_version.h
checking for gcc... gcc
checking whether the C compiler (gcc -march=i586 -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=i586 -O3 -pipe ) is a cross-
compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
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 for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for bison... bison -y
checking bison version... 1.34 (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 for pthreads_cflags... -pthread
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 module support via DSO through APXS... no
checking for Caudium support... no
checking whether writing to stdout works... This is the test message -- yes
checking whether to force Apache CGI redirect... no
checking whether to discard path_info + path_translated... no
checking for fhttpd module support... no
checking for CLI build... no
checking for FastCGI 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... cgi

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 in -lsocket... no
checking for htonl in -lsocket... no
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... yes
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for inet_aton in -lresolv... yes
checking for res_search in -lsocket... no
checking for res_search in -lresolv... yes
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 alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.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 netinet/in.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/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/time.h... yes
checking for sys/types.h... yes
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 whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR, and where... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.5
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking for crypt in -lcrypt... yes

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking for ZLIB support... yes
checking for gzgets in -lz... yes
checking for fopencookie... yes
checking for ASPELL support... no
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZip2 in default path... found in /usr
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking for CCVS support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking for CyberCash support... no
checking for cybermut support... no
checking for cyrus imap support... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for db_create in -ldb... yes
checking for db_create in -ldb-3... yes
checking for db_create in -ldb3... no
checking for Berkeley DB3 support... yes
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... yes
checking whether to enable dbase support... yes
checking for dbplus support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking for DOM support... yes
checking for libxml version... >= 2.4.2
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking whether to enable EXIF support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking for FriBidi support... no
checking whether to enable FTP support... yes
checking for GD support... no
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... yes
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for Java support... configure: error: Can not find the javac binary 
under /bin/

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 119, Exitcode 1
!!! bad ./configure

!!! emerge aborting on  /usr/portage/dev-php/php/php-4.2.2-r1.ebuild .
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-28 01:44:43 UTC
MArtin, run java-config please.  For a howto, check the www.gentoo.org website.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-08-28 02:03:34 UTC
no matter which vm i set, configure put's
(java-config --set-system-vm=ibm-jre-1.3.1
java-config --set-system-vm=blackdown-jdk-1.3.1)


checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for Java support... configure: error: Can not find the javac binary 
under /bin/

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 119, Exitcode 1
!!! bad ./configure




Comment 5 Martin Holzer (RETIRED) gentoo-dev 2002-08-28 02:15:32 UTC
oh, just forgot the env-update

sorry
let's see if it compiles
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2002-08-28 02:42:32 UTC
now i got the same error
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2002-08-28 02:43:44 UTC
Created attachment 3493 [details]
the complete build log
Comment 8 Alex Combas 2002-08-30 08:09:11 UTC
Created attachment 3560 [details]
this is an ebuild log of the configure and the build
Comment 9 Alex Combas 2002-08-30 08:11:41 UTC
...and as you can see from the log, php-4.2.2-r1.ebuild is not compiling for me
either.
Comment 10 Axel Vandevenne 2002-08-30 16:16:53 UTC
I had the same problems, first the java thing, and after I installed mysql it 
gave the mysql problem...

solution: use the php-4.2.2.ebuild file and not the -r1 file!
when I did "emerge php-4.2.2.ebuild" php installed completely succesful ;)
Comment 11 Ryan Phillips (RETIRED) gentoo-dev 2002-09-01 21:28:28 UTC
Hopefully I have fixed this problem with mysql... Can you guys test?
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2002-09-03 05:53:19 UTC
Now it stops in configure php


gentoo usr # emerge php
Calculating dependencies ...done!
>>> emerge dev-php/php-4.2.2-r1 to /
>>> md5 ;-) php-4.2.2.tar.bz2
>>> Unpacking source...
>>> Unpacking php-4.2.2.tar.bz2
>>> Source unpacked.
readline
pam
nls
ssl
gdbm
berkdb
mysql
tiff
qt
libwww
xml2
crypt
java
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i586-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
Updated php_version.h
checking for gcc... gcc
checking whether the C compiler (gcc -march=i586 -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=i586 -O3 -pipe ) is a cross-
compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
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 for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) 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 for pthreads_cflags... -pthread
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 module support via DSO through APXS... no
checking for Caudium support... no
checking whether writing to stdout works... This is the test message -- yes
checking whether to force Apache CGI redirect... no
checking whether to discard path_info + path_translated... no
checking for fhttpd module support... no
checking for CLI build... no
checking for FastCGI 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... cgi

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 in -lsocket... no
checking for htonl in -lsocket... no
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... yes
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for inet_aton in -lresolv... yes
checking for res_search in -lsocket... no
checking for res_search in -lresolv... yes
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 alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.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 netinet/in.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/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/time.h... yes
checking for sys/types.h... yes
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 whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR, and where... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.5
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking for crypt in -lcrypt... yes

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking for ZLIB support... yes
checking for gzgets in -lz... yes
checking for fopencookie... yes
checking for ASPELL support... no
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZip2 in default path... found in /usr
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking for CCVS support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking for CyberCash support... no
checking for cybermut support... no
checking for cyrus imap support... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for db_create in -ldb... yes
checking for db_create in -ldb-3... yes
checking for db_create in -ldb3... no
checking for Berkeley DB3 support... yes
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... yes
checking whether to enable dbase support... yes
checking for dbplus support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking for DOM support... yes
checking for libxml version... >= 2.4.2
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking whether to enable EXIF support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking for FriBidi support... no
checking whether to enable FTP support... yes
checking for GD support... no
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for Java support... yes
checking for LDAP support... no
checking whether to enable multibyte string support... no
checking whether to enable japanese encoding translation... no
checking whether to enable multibyte regex support... no
checking for MCAL support... no
checking for mcrypt support... no
checking for MCVE support... no
checking for mhash support... yes
checking for MING support... no
checking for mnoGoSearch support... no
checking for msession support... no
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
checking size of char... 0
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... 0
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... no
checking for type uchar... no
checking for type uint... no
checking for type ushort... no
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more 
information.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 166, Exitcode 1
!!! bad ./configure
Comment 13 Ryan Phillips (RETIRED) gentoo-dev 2002-09-03 15:44:56 UTC
Martin: Is mysql installed?  If it is, which version?
Comment 14 Martin Holzer (RETIRED) gentoo-dev 2002-09-04 02:36:16 UTC
dev-db/mysql: 3.23.51-r4
Comment 15 Roman Weber 2002-09-08 09:35:54 UTC
Please Try:
USE="-java" emerge (php/mod_php)

Sorry, I can't personally fix this until 26 Oct....(Army)
Comment 16 Ryan Phillips (RETIRED) gentoo-dev 2002-11-26 17:26:05 UTC
for now java is disabled.