Bug #17800 [Com]: Configure: error: Problem with libXpm.(a|so) or libX11.(a|so)

From: Date: Fri, 21 Sep 2018 13:13:38 +0000
Subject: Bug #17800 [Com]: Configure: error: Problem with libXpm.(a|so) or libX11.(a|so)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217182@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=17800&edit=1 ID: 17800 Comment by: zhang_yimin007 at live dot com Reported by: ekonic2 at hotmail dot com Summary: Configure: error: Problem with libXpm.(a|so) or libX11.(a|so) Status: Not a bug Type: Bug Package: Compile Failure Operating System: Solaris 2.6 PHP Version: 4.1.2 Block user comment: N Private report: N New Comment: Got same problem on macOS while build php7.2.10: checking for grep that handles long lines and -e... /sw/bin/grep checking for egrep... /sw/bin/grep -E checking for a sed that does not truncate output... /sw/bin/sed checking build system type... x86_64-apple-darwin17.7.0 checking host system type... x86_64-apple-darwin17.7.0 checking target system type... x86_64-apple-darwin17.7.0 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /sw/bin/gcc-8 accepts -g... yes checking for /sw/bin/gcc-8 option to accept ISO C89... none needed checking how to run the C preprocessor... /sw/bin/cpp-8 checking for icc... no checking for suncc... no checking whether /sw/bin/gcc-8 and cc understand -c and -o together... yes checking how to run the C preprocessor... /sw/bin/cpp-8 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking for system library directory... lib checking whether to enable runpaths... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for gawk... gawk checking for bison... bison -y checking for bison version... 3.0 (ok) checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking whether to enable computed goto gcc extension with re2c... no checking whether C compiler accepts -fvisibility=hidden... yes checking whether /sw/bin/gcc-8 supports -no-cpp-precomp... no checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes checking whether /dev/arandom exists... no checking for global register variables support... yes checking whether atof() accepts NAN... no checking whether atof() accepts INF... no checking whether HUGE_VAL == INF... yes checking whether HUGE_VAL + -HUGEVAL == NAN... no checking for pthreads_cflags... -pthread checking for pthreads_lib... pthread Configuring SAPI modules checking for Apache 2.0 handler-module support via DSO through APXS... yes checking for setproctitle... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for PS_STRINGS... no checking for CLI build... yes checking for embedded SAPI library support... no checking for FPM build... yes checking for setenv... yes checking for clearenv... no checking for setproctitle... (cached) no checking for library containing socket... none required checking for library containing inet_addr... none required checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking for prctl... no checking for clock_gettime... yes checking for ptrace... yes checking whether ptrace works... no checking for mach_vm_read... yes checking if gcc supports __sync_bool_compare_and_swap... yes checking for TCP_INFO... no checking for SO_LISTENQLEN... no checking for sysconf... yes checking for times... yes checking for kqueue... yes checking for port framework... no checking for /dev/poll... no checking for epoll... no checking for poll... yes checking for select... yes checking for apparmor... no checking for LiteSpeed support... no checking for phpdbg support... yes checking for phpdbg web SAPI support... no checking for phpdbg debug build... no checking whether termios.h defines TIOCGWINSZ... yes checking for CGI build... yes checking for socklen_t in sys/socket.h... yes checking for sun_len in sys/un.h... yes checking whether cross-process locking is required by accept()... no checking for chosen SAPI module... apache2handler checking for executable SAPI binaries... cli fpm phpdbg cgi Running system checks checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking whether byte ordering is bigendian... no checking whether writing to stdout works... This is the test message -- yes checking for socket... yes checking for socketpair... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... yes checking for dlopen... yes checking for sin in -lm... yes checking for inet_aton... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for dirent.h... yes checking for ApplicationServices/ApplicationServices.h... no checking for sys/param.h... yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for netinet/in.h... (cached) yes checking for alloca.h... yes checking for arpa/inet.h... (cached) yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... no checking for dns.h... yes checking for fcntl.h... (cached) 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 netdb.h... yes checking for poll.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... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for sysexits.h... (cached) yes checking for sys/ioctl.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... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/statfs.h... no checking for sys/statvfs.h... yes checking for sys/vfs.h... no checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for sys/loadavg.h... no checking for termios.h... yes checking for unistd.h... (cached) 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 assert.h... (cached) yes checking for fopencookie... no checking for broken getcwd... no checking for broken libc stdio... no checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for missing declarations of reentrant functions... done checking for fclose declaration... ok checking for tm_gmtoff in struct tm... yes checking for struct flock... yes checking for socklen_t... yes checking size of size_t... 8 checking size of long long... 8 checking size of long long int... 8 checking size of long... 8 checking size of int... 4 checking size of intmax_t... 8 checking size of ssize_t... 8 checking size of ptrdiff_t... 8 checking size of short... 2 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking for int8... no checking for int16... no checking for int32... no checking for int64... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8... no checking for uint16... no checking for uint32... no checking for uint64... no checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for __builtin_expect... yes checking for __builtin_clz... yes checking for __builtin_ctzl... yes checking for __builtin_ctzll... yes checking for __builtin_smull_overflow... yes checking for __builtin_smulll_overflow... yes checking for __builtin_saddl_overflow... yes checking for __builtin_saddll_overflow... yes checking for __builtin_ssubl_overflow... yes checking for __builtin_ssubll_overflow... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct sockaddr_storage... yes checking for field sa_len in struct sockaddr... yes checking for IPv6 support... yes checking for vprintf... yes checking for _doprnt... no checking for alphasort... yes checking for asctime_r... yes checking for chroot... yes checking for ctime_r... yes checking for cuserid... no checking for crypt... yes checking for flock... yes checking for ftok... yes checking for funopen... yes checking for gai_strerror... yes checking for gcvt... yes checking for getloadavg... yes checking for getlogin... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getservbyname... yes checking for getservbyport... yes checking for gethostname... (cached) yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for getpwnam_r... yes checking for getgrnam_r... yes checking for getpwuid_r... yes checking for grantpt... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for inet_pton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lchown... 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 perror... yes checking for poll... yes checking for ptsname... yes checking for putenv... yes checking for realpath... yes checking for random... yes checking for rand_r... yes checking for scandir... yes checking for setitimer... yes checking for setlocale... yes checking for localeconv... yes checking for setenv... (cached) yes checking for setpgid... 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 strnlen... yes checking for strptime... yes checking for strstr... yes checking for strtok_r... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unlockpt... yes checking for unsetenv... yes checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for vasprintf... yes checking for asprintf... yes checking for nanosleep... yes checking for nanosleep in -lrt... no checking for __nanosleep in -lrt... no checking for getaddrinfo... yes checking for __sync_fetch_and_add... yes checking for strlcat... yes checking for strlcpy... yes checking for explicit_bzero... no checking for getopt... yes checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for working alloca.h... yes checking for alloca... yes 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 for in_addr_t... yes checking for crypt_r... no checking whether to enable valgrind support... yes checking for valgrind header... not found General settings checking whether to include gcov symbols... no checking whether to include debugging symbols... no checking layout of installed files... PHP checking path to configuration file... DEFAULT checking where to scan for configuration files... checking whether to enable PHP's own SIGCHLD handler... no checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking whether to enable DTrace support... no checking how big to make fd sets... using system default Configuring extensions checking size of long... (cached) 8 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for dirent.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking for gettimeofday... (cached) yes checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... yes checking for Kerberos support... no checking whether to use system default cipher list instead of hardcoded value... no checking for RAND_egd... no checking for pkg-config... /sw/bin/pkg-config checking for OpenSSL version... >= 1.0.1 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for PCRE library to use... bundled checking whether to enable PCRE JIT functionality... yes checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for zlib version >= 1.2.0.4... 1.2.11 checking for gzgets in -lz... yes 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 whether to enable ctype functions... yes checking for cURL support... yes checking for libcurl.pc... using default path checking for cURL 7.10.5 or greater... 7.61.1 checking for SSL support in libcurl... yes checking how to run the C preprocessor... /sw/bin/cpp-8 checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for TCADB support... no checking for LMDB support... no checking for Berkeley DB4 support... no checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... no checking for INI File support... no checking for FlatFile support... no checking whether to enable DBA interface... no checking whether to enable DOM support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for ENCHANT support... no checking whether to enable EXIF (metadata from images) support... no checking for fileinfo support... yes checking for strcasestr... yes checking for utimes... yes checking for strndup... yes checking whether to enable input filter support... yes checking pcre install prefix... no checking whether to enable FTP support... yes checking OpenSSL dir for FTP... no checking for OpenSSL version... >= 1.0.1 checking for CRYPTO_free in -lcrypto... (cached) yes checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes checking for GD support... yes checking for the location of libwebp... /opt/libwebp/ checking for the location of libjpeg... /opt/libjpeg/ checking for the location of libpng... /opt/libpng/ checking for the location of libXpm... /opt/libxpm/ checking for FreeType 2... /opt/freetype/ checking whether to enable JIS-mapped Japanese font support in GD... no checking for WebPGetInfo in -lwebp... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes checking for XpmFreeXpmImage in -lXpm... no configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information. Previous Comments: ------------------------------------------------------------------------ [2002-06-18 17:42:52] sniper@php.net Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2002-06-18 15:03:46] ekonic2 at hotmail dot com This was the same ./configure file used for php-3.0.18 this work without an error. listed below is config.log ========================================================== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1598: checking for a BSD compatible install configure:1651: checking whether build environment is sane configure:1708: checking whether make sets ${MAKE} configure:1747: checking for working aclocal configure:1760: checking for working autoconf configure:1773: checking for working automake configure:1786: checking for working autoheader configure:1799: checking for working makeinfo configure:1829: checking whether to enable maintainer-specific portions of Makefiles configure:1858: checking host system type configure:1886: checking for gawk configure:1886: checking for mawk configure:1886: checking for nawk configure:1920: checking for bison configure:1954: checking bison version configure:1967: checking for gcc configure:2080: checking whether the C compiler (gcc ) works configure:2096: gcc -o conftest conftest.c 1>&5 configure:2122: checking whether the C compiler (gcc ) is a cross-compiler configure:2127: checking whether we are using GNU C configure:2136: gcc -E conftest.c configure:2155: checking whether gcc accepts -g configure:2187: checking how to run the C preprocessor configure:2208: gcc -E conftest.c >/dev/null 2>conftest.out configure:2267: checking for AIX configure:2317: checking for gcc option to accept ANSI C configure:2370: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:2397: checking for ranlib configure:2426: checking whether gcc and cc understand -c and -o together configure:2441: gcc -c conftest.c -o conftest.o 1>&5 configure:2442: gcc -c conftest.c -o conftest.o 1>&5 configure:2447: cc -c conftest.c 1>&5 /usr/ucb/cc: language optional software package not installed configure:2477: checking whether ln -s works configure:2501: checking for flex configure:2535: checking for yywrap in -lfl configure:2554: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lfl 1>&5 configure:2578: checking lex output file root configure:2599: checking whether yytext is a pointer configure:2618: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lfl 1>&5 configure:2642: checking for working const configure:2696: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:2815: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: failed program was: #line 2797 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2835: checking for pthreads_cflags configure:2868: gcc -o conftest -g -O2 -kthread -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 gcc: unrecognized option `-kthread' configure: failed program was: #line 2850 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2868: gcc -o conftest -g -O2 -pthread -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 gcc: unrecognized option `-pthread' configure: failed program was: #line 2850 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2868: gcc -o conftest -g -O2 -pthreads -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:2897: checking for pthreads_lib configure:2994: checking for AOLserver support configure:3071: checking for Apache module support via DSO through APXS configure:3194: checking for Apache module support configure:3413: checking for mod_charset compatibility option configure:3437: checking whether gcc supports -rdynamic configure:3483: checking for Apache 2.0 module support via DSO through APXS configure:3595: checking for Caudium support configure:3939: checking for fhttpd module support configure:3986: checking for FastCGI support configure:4052: checking for Zeus ISAPI support configure:4118: checking for NSAPI support configure:4201: checking for PHTTPD support configure:4266: checking for Pi3Web Support configure:4460: checking for Roxen/Pike support configure:4566: checking for Servlet support configure:4733: checking for thttpd configure:4794: checking for TUX configure:4802: checking for chosen SAPI module configure:4851: checking for missing declarations of reentrant functions configure:4860: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:4857: `localtime_r' undeclared (first use in this function) configure:4857: (Each undeclared identifier is reported only once configure:4857: for each function it appears in.) configure: failed program was: #line 4853 "configure" #include "confdefs.h" #include <time.h> int main() { struct tm *(*func)() = localtime_r ; return 0; } configure:4885: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:4882: `gmtime_r' undeclared (first use in this function) configure:4882: (Each undeclared identifier is reported only once configure:4882: for each function it appears in.) configure: failed program was: #line 4878 "configure" #include "confdefs.h" #include <time.h> int main() { struct tm *(*func)() = gmtime_r ; return 0; } configure:4910: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:4935: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:4960: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:4957: `strtok_r' undeclared (first use in this function) configure:4957: (Each undeclared identifier is reported only once configure:4957: for each function it appears in.) configure: failed program was: #line 4953 "configure" #include "confdefs.h" #include <string.h> int main() { char *(*func)() = strtok_r ; return 0; } configure:4981: checking whether compiler supports -R configure:4996: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -R /usr/lib 1>&5 configure:5054: checking for sendmail configure:5096: checking whether system uses EBCDIC configure:5115: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: failed program was: #line 5107 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:5151: checking for socket in -lsocket configure:5170: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lsocket 1>&5 configure:5264: checking for yp_get_default_domain configure:5292: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lsocket 1>&5 configure:5434: checking for dlopen in -ldl configure:5453: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -ldl -lsocket 1>&5 configure:5486: checking for sin in -lm configure:5505: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lm -ldl -lsocket 1>&5 configure:5498: warning: conflicting types for built-in function `sin' configure:5534: checking for inet_aton in -lresolv configure:5553: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lm -ldl -lsocket 1>&5 configure:5680: checking for res_search in -lsocket configure:5699: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lsocket -lresolv -lm -ldl -lsocket 1>&5 configure:5716: checking for dn_skipname in -lresolv configure:5735: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket 1>&5 /var/tmp/ccJ4xlkF.o: In function `main': /u02/apps/php-4.1.2/configure:5731: undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure: failed program was: #line 5724 "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:5763: checking for __dn_skipname in -lresolv configure:5782: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket 1>&5 configure:5964: checking for ANSI C header files configure:5977: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6044: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:6074: checking for dirent.h that defines DIR configure:6087: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6112: checking for opendir in -ldir configure:6131: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -ldir -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /usr/local/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 6120 "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:6238: checking for fclose declaration configure:6247: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6310: checking for alloca.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for arpa/inet.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for arpa/nameser.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for crypt.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for fcntl.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for grp.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for ieeefp.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for langinfo.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for limits.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for locale.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for netinet/in.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for pwd.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for resolv.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for signal.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for stdarg.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for stdlib.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for string.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for syslog.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sysexits.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/file.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/mman.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/mount.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/resource.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/select.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/socket.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/statfs.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/statvfs.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/vfs.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/sysexits.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6316:26: sys/sysexits.h: No such file or directory configure: failed program was: #line 6315 "configure" #include "confdefs.h" #include <sys/sysexits.h> configure:6310: checking for sys/time.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/types.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/varargs.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for sys/wait.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for unistd.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6310: checking for unix.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6316:18: unix.h: No such file or directory configure: failed program was: #line 6315 "configure" #include "confdefs.h" #include <unix.h> configure:6310: checking for utime.h configure:6320: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:6348: checking whether struct tm is in sys/time.h or time.h configure:6361: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6382: checking for tm_zone in struct tm configure:6395: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:6391: structure has no member named `tm_zone' configure: failed program was: #line 6387 "configure" #include "confdefs.h" #include <sys/types.h> #include <time.h> int main() { struct tm tm; tm.tm_zone; ; return 0; } configure:6415: checking for tzname configure:6430: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:6454: checking for tm_gmtoff in struct tm configure:6467: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:6463: structure has no member named `tm_gmtoff' configure: failed program was: #line 6459 "configure" #include "confdefs.h" #include <sys/types.h> #include <time.h> int main() { struct tm tm; tm.tm_gmtoff; ; return 0; } configure:6490: checking for struct flock configure:6505: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6532: checking for socklen_t configure:6549: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:6544: `socklen_t' undeclared (first use in this function) configure:6544: (Each undeclared identifier is reported only once configure:6544: for each function it appears in.) configure:6544: parse error before "x" configure: failed program was: #line 6537 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { socklen_t x; ; return 0; } configure:6575: checking size of long configure:6594: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:6614: checking size of int configure:6633: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:6688: checking for st_blksize in struct stat configure:6701: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6723: checking for st_blocks in struct stat configure:6736: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6763: checking for st_rdev in struct stat configure:6776: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:6798: checking for size_t configure:6831: checking for uid_t in sys/types.h configure:6866: checking for IPv6 support configure:6880: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:6876: storage size of `s' isn't known configure:6876: `AF_INET6' undeclared (first use in this function) configure:6876: (Each undeclared identifier is reported only once configure:6876: for each function it appears in.) configure: failed program was: #line 6871 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> int main() { struct sockaddr_in6 s; int i=AF_INET6; s ; return 0; } configure:6901: checking for vprintf configure:6929: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for asctime_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for chroot configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for ctime_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for cuserid configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for crypt configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for flock configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/ccA4j8My.o: In function `main': /u02/apps/php-4.1.2/configure:7091: undefined reference to `flock' collect2: ld returned 1 exit status configure: failed program was: #line 7074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char flock(); 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 flock(); 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_flock) || defined (__stub___flock) choke me #else flock(); #endif ; return 0; } configure:7069: checking for gai_strerror configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/ccw9Ogm5.o: In function `main': /u02/apps/php-4.1.2/configure:7091: undefined reference to `gai_strerror' collect2: ld returned 1 exit status configure: failed program was: #line 7074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gai_strerror(); 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 gai_strerror(); 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_gai_strerror) || defined (__stub___gai_strerror) choke me #else gai_strerror(); #endif ; return 0; } configure:7069: checking for gcvt configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getlogin configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for gethostbyaddr configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getprotobyname configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getprotobynumber configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getservbyname configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getservbyport configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for getrusage configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for gettimeofday configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for gmtime_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for inet_aton configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for isascii configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for link configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for localtime_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for lockf configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for lrand48 configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for memcpy configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7081: warning: conflicting types for built-in function `memcpy' configure:7069: checking for memmove configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for mkstemp configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for mmap configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for nl_langinfo configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for putenv configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for realpath configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for random configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for rand_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for regcomp configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for res_search configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for setitimer configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for setlocale configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for localeconv configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for setsockopt configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for setvbuf configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for shutdown configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for sin configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7081: warning: conflicting types for built-in function `sin' configure:7069: checking for snprintf configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for srand48 configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for srandom configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for statfs configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for statvfs configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for std_syslog configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/ccJ3stJL.o: In function `main': /u02/apps/php-4.1.2/configure:7091: undefined reference to `std_syslog' collect2: ld returned 1 exit status configure: failed program was: #line 7074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char std_syslog(); 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 std_syslog(); 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_std_syslog) || defined (__stub___std_syslog) choke me #else std_syslog(); #endif ; return 0; } configure:7069: checking for strcasecmp configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for strcoll configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for strdup configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for strerror configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for strftime configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for strstr configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7081: warning: conflicting types for built-in function `strstr' configure:7069: checking for strtok_r configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for symlink configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for tempnam configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for tzset configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for unsetenv configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/cceRmST5.o: In function `main': /u02/apps/php-4.1.2/configure:7091: undefined reference to `unsetenv' collect2: ld returned 1 exit status configure: failed program was: #line 7074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char unsetenv(); 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 unsetenv(); 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_unsetenv) || defined (__stub___unsetenv) choke me #else unsetenv(); #endif ; return 0; } configure:7069: checking for usleep configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for utime configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7069: checking for vsnprintf configure:7097: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7123: checking for getaddrinfo configure:7135: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:7131: storage size of `h' isn't known configure: failed program was: #line 7128 "configure" #include "confdefs.h" #include <netdb.h> int main() { struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g); ; return 0; } configure:7158: checking for strlcat configure:7186: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/ccWp1Cru.o: In function `main': /u02/apps/php-4.1.2/configure:7180: undefined reference to `strlcat' collect2: ld returned 1 exit status configure: failed program was: #line 7163 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcat(); 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 strlcat(); 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_strlcat) || defined (__stub___strlcat) choke me #else strlcat(); #endif ; return 0; } configure:7158: checking for strlcpy configure:7186: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 /var/tmp/cc2ZDKA5.o: In function `main': /u02/apps/php-4.1.2/configure:7180: undefined reference to `strlcpy' collect2: ld returned 1 exit status configure: failed program was: #line 7163 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcpy(); 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 strlcpy(); 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_strlcpy) || defined (__stub___strlcpy) choke me #else strlcpy(); #endif ; return 0; } configure:7158: checking for getopt configure:7186: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7213: checking whether utime accepts a null argument configure:7234: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7260: checking for working alloca.h configure:7293: checking for alloca configure:7326: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7493: checking whether sprintf is broken configure:7508: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7542: checking for declared timezone configure:7563: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:7589: checking for type of reentrant time-related functions configure:7618: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure: In function `main': configure:7611: too many arguments to function `asctime_r' configure: failed program was: #line 7600 "configure" #include "confdefs.h" #include <time.h> main() { char buf[27]; struct tm t; time_t old = 0; int r, s; s = gmtime_r(&old, &t); r = (int) asctime_r(&t, buf, 26); if (r == s && s == 0) return (0); return (1); } configure:7648: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure: In function `main': configure:7640: warning: assignment makes pointer from integer without a cast configure:7641: too many arguments to function `asctime_r' configure: failed program was: #line 7632 "configure" #include "confdefs.h" #include <time.h> main() { struct tm t, *s; time_t old = 0; char buf[27], *p; s = gmtime_r(&old, &t); p = asctime_r(&t, buf, 26); if (p == buf && s == &t) return (0); return (1); } configure:7686: checking for readdir_r configure:7714: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7736: checking for type of readdir_r configure:7772: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:7873: checking whether to include debugging symbols configure:7926: checking layout of installed files configure:7971: checking path to configuration file configure:8032: checking whether to install PEAR configure:8091: checking whether to enable safe mode by default configure:8146: checking for safe mode exec dir configure:8187: checking for OpenSSL support configure:8252: checking for OpenSSL version configure:8314: checking for CRYPTO_free in -lcrypto configure:8333: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib conftest.c -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:8371: checking for SSL_CTX_set_ssl_version in -lssl configure:8390: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib conftest.c -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket 1>&5 configure:8463: checking whether to enable PHP's own SIGCHLD handler configure:8520: checking whether to enable magic quotes by default configure:8577: checking whether to enable runpaths configure:8622: checking whether to explicitly link against libgcc configure:8723: checking whether to enable short tags by default configure:8781: checking whether to enable dmalloc configure:8892: checking whether to enable php streams configure:8942: checking for crypt in -lcrypt configure:8961: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 conftest.c -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc 1>&5 configure:9023: checking if the location of ZLIB install directory is defined configure:9068: checking whether to include ZLIB support configure:9309: checking for gzgets in -lz configure:9328: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 conftest.c -lz -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 configure:9419: checking for fopencookie configure:9447: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 conftest.c -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 /var/tmp/ccQDMzbD.o: In function `main': /u02/apps/php-4.1.2/configure:9441: undefined reference to `fopencookie' collect2: ld returned 1 exit status configure: failed program was: #line 9424 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fopencookie(); 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 fopencookie(); 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_fopencookie) || defined (__stub___fopencookie) choke me #else fopencookie(); #endif ; return 0; } configure:9536: checking for ASPELL support configure:9789: checking for bc style precision math functions configure:10091: checking for BZip2 support configure:10467: checking whether to enable calendar conversion support configure:10655: checking for CCVS support configure:10979: checking whether to include cpdflib support configure:11730: checking whether to include crack support configure:12069: checking whether to enable ctype support configure:12257: checking for CURL support configure:12727: checking for CyberCash support configure:13018: checking for cybermut support configure:13369: checking for cyrus imap support configure:14039: checking whether to include old xDBM support configure:14581: checking whether to enable DBA configure:14834: checking for GDBM support configure:15068: checking for NDBM support configure:15316: checking for Berkeley DB2 support configure:15547: checking for Berkeley DB3 support configure:15770: checking for DBM support configure:15993: checking for CDB support configure:16005: checking whether to enable DBA interface configure:16170: checking whether to enable the bundled dbase library configure:16359: checking for dbplus support configure:16934: checking whether to enable dbx support configure:17120: checking for DOM support configure:17593: checking whether to enable exif support configure:17781: checking for FrontBase SQL92 (fbsql) support configure:18123: checking for fdftk support configure:18507: checking whether to enable the bundled filePro support configure:18695: checking whether to add fribidi support configure:19105: checking whether to enable FTP support configure:19310: checking whether to include GD support configure:19508: checking whether to enable truetype string function in gd configure:19561: checking for the location of libjpeg configure:19610: checking for jpeg_read_header in -ljpeg configure:19631: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 conftest.c -ljpeg -L/usr/local/lib -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 configure:19757: checking for the location of libpng configure:19810: checking for png_info_init in -lpng configure:19831: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -R/usr/local/lib -L/usr/local/lib conftest.c -lpng -L/usr/local/lib -lz -L/usr/local/lib -ljpeg -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 configure:20051: checking for the location of libXpm configure:20099: checking for XpmFreeXpmImage in -lXpm configure:20120: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl-0.9.6/lib -L/usr/local/openssl-0.9.6/lib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3 -R/usr/local/lib -L/usr/local/lib conftest.c -lXpm -L/usr/X11R6/lib -lX11 -lpng -lz -ljpeg -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 /usr/X11R6/lib/libXpm.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status configure: failed program was: #line 20109 "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 XpmFreeXpmImage(); int main() { XpmFreeXpmImage() ; return 0; } ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=17800 -- Edit this bug report at https://bugs.php.net/bug.php?id=17800&edit=1

« previous php.bugs (#217182) next »