All libraries were installed (precompiled)
This is FreeBSD 5.1
installed zlib, installed jpeg and png libraries (in default directories)
GD 2.0.11 source is in /usr/gd-2.0.11 (compiled and installed flawlesly)
I configured PHP with the following:
../configure --with-gd=/usr/gd-2.0.11 --with-freetype-dir=/usr --enable-g
d-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr --enable-png-
dir=/usr --
with-zlib --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
When configure came to reading jpeg header, it gave me an error about
libjpeg.a
I need GD, because I want to use coppermine (picture gallery) on my
"future" web site.
Contents of config.log file (from here to end of message):
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1618: checking host system type
configure:1706: checking for gcc
configure:1819: checking whether the C compiler (gcc ) works
configure:1835: gcc -o conftest conftest.c 1>&5
configure:1861: checking whether the C compiler (gcc ) is a cross-compiler
configure:1866: checking whether we are using GNU C
configure:1875: gcc -E conftest.c
configure:1894: checking whether gcc accepts -g
configure:1927: checking whether gcc and cc understand -c and -o together
configure:1942: gcc -c conftest.c -o conftest.o 1>&5
configure:1943: gcc -c conftest.c -o conftest.o 1>&5
configure:1948: cc -c conftest.c 1>&5
configure:1950: cc -c conftest.c -o conftest.o 1>&5
configure:1951: cc -c conftest.c -o conftest.o 1>&5
configure:1978: checking how to run the C preprocessor
configure:1999: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2059: checking for AIX
configure:2086: checking if compiler supports -R
configure:2101: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
configure:2159: checking for ranlib
configure:2187: checking whether ln -s works
configure:2212: checking for gawk
configure:2212: checking for mawk
configure:2212: checking for nawk
configure:2246: checking for bison
configure:2246: checking for byacc
configure:2290: checking for flex
configure:2324: checking for yywrap in -lfl
configure:2343: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2367: checking lex output file root
configure:2388: checking whether yytext is a pointer
configure:2407: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2431: checking for working const
configure:2485: gcc -c -g -O2 conftest.c 1>&5
configure:2510: checking flex version
configure:2650: gcc -o conftest -g -O2 conftest.c 1>&5
/var/tmp//ccQc5UBs.o: In function `main':
/usr/php-4.3.3/configure:2646: undefined reference to `pthread_create '
configure: failed program was:
#line 2632 "configure"
#include "confdefs.h "
#include <pthread.h>
#include <stddef.h>
void *thread_routine (void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexat tr_t mattr;
int data = 1;
pthread_mutexat tr_init(&mattr) ;
return pthread_create( &thd, NULL, thread_routine, &data);
}
configure:2670: checking for pthreads_cflags
configure:2703: gcc -o conftest -g -O2 -kthread conftest.c 1>&5
gcc: unrecognized option `-kthread'
/var/tmp//cciKBNja.o: In function `main':
/usr/php-4.3.3/configure:2699: undefined reference to `pthread_create '
configure: failed program was:
#line 2685 "configure"
#include "confdefs.h "
#include <pthread.h>
#include <stddef.h>
void *thread_routine (void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexat tr_t mattr;
int data = 1;
pthread_mutexat tr_init(&mattr) ;
return pthread_create( &thd, NULL, thread_routine, &data);
}
configure:2703: gcc -o conftest -g -O2 -pthread conftest.c 1>&5
configure:2733: checking for pthreads_lib
configure:2859: checking for AOLserver support
configure:3079: checking for Apache 1.x module support via DSO through APXS
configure:3362: checking for Apache 1.x module support
configure:4143: checking for member fd in BUFF *
configure:4162: gcc -c -g -O2 conftest.c 1>&5
configure:4156: 19: httpd.h: No such file or directory
configure: In function `main':
configure:4158: `conn_rec' undeclared (first use in this function)
configure:4158: (Each undeclared identifier is reported only once
configure:4158: for each function it appears in.)
configure:4158: `c' undeclared (first use in this function)
configure: failed program was:
#line 4155 "configure"
#include "confdefs.h "
#include <httpd.h>
int main() {
conn_rec *c; int fd = c->client->fd;
; return 0; }
configure:4186: checking for mod_charset compatibility option
configure:4253: checking for Apache 2.0 filter-module support via DSO through APXS
configure:4989: checking for Apache 2.0 handler-module support via DSO through APXS
configure:5726: checking for Caudium support
configure:6036: checking for CLI build
configure:6096: checking for embedded SAPI library support
configure:6279: checking for Zeus ISAPI support
configure:6489: checking for NSAPI support
configure:6810: checking for PHTTPD support
configure:7019: checking for Pi3Web support
configure:7328: checking for Roxen/Pike support
configure:7577: checking for Servlet support
configure:8055: checking for thttpd
configure:8261: checking for TUX
configure:8475: checking for webjames
configure:8876: checking for chosen SAPI module
configure:9781: checking for missing declarations of reentrant functions
configure:9790: gcc -c -g -O2 conftest.c 1>&5
configure:9815: gcc -c -g -O2 conftest.c 1>&5
configure:9840: gcc -c -g -O2 conftest.c 1>&5
configure:9865: gcc -c -g -O2 conftest.c 1>&5
configure:9890: gcc -c -g -O2 conftest.c 1>&5
configure:9914: checking for sendmail
configure:9955: checking whether system uses EBCDIC
configure:9974: gcc -o conftest -g -O2 conftest.c 1>&5
configure: failed program was:
#line 9966 "configure"
#include "confdefs.h "
int main(void) {
return (unsigned char)'A' != (unsigned char)0xC1;
}
configure:10048 : checking for socket
configure:10076 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10305 : checking for htonl
configure:10333 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10562 : checking for gethostname
configure:10590 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10819 : checking for gethostbyaddr
configure:10847 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11076 : checking for yp_get_default_ domain
configure:11104 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11334 : checking for dlopen
configure:11362 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11592 : checking for sin in -lm
configure:11611 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:11604 : warning: conflicting types for built-in function `sin'
configure:11645 : checking for res_search
configure:11673 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12181 : checking for inet_aton
configure:12209 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12577 : checking for dn_skipname
configure:12605 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccIi95iu.o: In function `main':
/usr/php-4.3.3/configure:12599 : undefined reference to `dn_skipname'
configure: failed program was:
#line 12582 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dn_skipname(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dn_skipname();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dn_skip name) || defined (__stub___dn_sk ipname)
choke me
#else
dn_skipname();
#endif
; return 0; }
configure:12623 : checking for __dn_skipname
configure:12651 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12971 : checking for ANSI C header files
configure:12984 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13051 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13081 : checking for dirent.h that defines DIR
configure:13094 : gcc -c -g -O2 conftest.c 1>&5
configure:13119 : checking for opendir in -ldir
configure:13138 : gcc -o conftest -g -O2 conftest.c -ldir -lm 1>&5
/usr/bin/ld: cannot find -ldir
configure: failed program was:
#line 13127 "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:13245 : checking for fclose declaration
configure:13254 : gcc -c -g -O2 conftest.c 1>&5
configure:13328 : checking for ApplicationServ ices/ApplicationServ ices.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :53: ApplicationServ ices/ApplicationServ ices.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <ApplicationSer vices/ApplicationServ ices.h>
configure:13328 : checking for sys/param.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/types.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/time.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for netinet/in.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for alloca.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :20: alloca.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <alloca.h>
configure:13328 : checking for arpa/inet.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for arpa/nameser.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for assert.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for crypt.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :19: crypt.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <crypt.h>
configure:13328 : checking for fcntl.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for grp.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for ieeefp.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for langinfo.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for limits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for locale.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for monetary.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for mach-o/dyld.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <mach-o/dyld.h>
configure:13328 : checking for netdb.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for pwd.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for resolv.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for signal.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for stdarg.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for stdlib.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for string.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for syslog.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sysexits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/file.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/mman.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/mount.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/poll.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/resource.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/select.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/socket.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/statfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :24: sys/statfs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/statfs.h>
configure:13328 : checking for sys/statvfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/vfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :21: sys/vfs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/vfs.h>
configure:13328 : checking for sys/sysexits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/sysexits.h>
configure:13328 : checking for sys/varargs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/varargs.h>
configure:13328 : checking for sys/wait.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for unistd.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for unix.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :18: unix.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <unix.h>
configure:13328 : checking for utime.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/utsname.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/ipc.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for dlfcn.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13367 : checking for fopencookie
configure:13395 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccOjhvYr.o: In function `main':
/usr/php-4.3.3/configure:13389 : undefined reference to `fopencookie'
configure: failed program was:
#line 13372 "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_fopenco okie) || defined (__stub___fopen cookie)
choke me
#else
fopencookie();
#endif
; return 0; }
configure:13539 : checking for broken getcwd
configure:13554 : checking for broken libc stdio
configure:13615 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13643 : checking whether struct tm is in sys/time.h or time.h
configure:13656 : gcc -c -g -O2 conftest.c 1>&5
configure:13677 : checking for tm_zone in struct tm
configure:13690 : gcc -c -g -O2 conftest.c 1>&5
configure:13749 : checking for tm_gmtoff in struct tm
configure:13762 : gcc -c -g -O2 conftest.c 1>&5
configure:13785 : checking for struct flock
configure:13800 : gcc -c -g -O2 conftest.c 1>&5
configure:13827 : checking for socklen_t
configure:13844 : gcc -c -g -O2 conftest.c 1>&5
configure:13870 : checking size of long
configure:13889 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13909 : checking size of int
configure:13928 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13949 : checking for st_blksize in struct stat
configure:13962 : gcc -c -g -O2 conftest.c 1>&5
configure:13984 :checking for st_blocks in struct stat
configure:13997 : gcc -c -g -O2 conftest.c 1>&5
configure:14024 : checking for st_rdev in struct stat
configure:14037 : gcc -c -g -O2 conftest.c 1>&5
configure:14059 : checking for size_t
configure:14092 : checking for uid_t in sys/types.h
configure:14127 : checking for struct sockaddr_storag e
configure:14140 : gcc -c -g -O2 conftest.c 1>&5
configure:14172 : gcc -c -g -O2 conftest.c 1>&5
configure:14185 : checking for IPv6 support
configure:14199 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14217 : checking for vprintf
configure:14245 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for alphasort
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for asctime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for chroot
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for ctime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for cuserid
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccJOT3hE.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `cuserid'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cuserid(); 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 cuserid();
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_cuserid ) || defined (__stub___cuser id)
choke me
#else
cuserid();
#endif
; return 0; }
configure:14389 : checking for crypt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//cc1VpJxk.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `crypt'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); 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 crypt();
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_crypt) || defined (__stub___crypt )
choke me
#else
crypt();
#endif
; return 0; }
configure:14389 : checking for flock
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for ftok
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for funopen
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gai_strerror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gcvt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccKosMxZ.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `gcvt'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gcvt(); 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 gcvt();
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_gcvt) || defined (__stub___gcvt)
choke me
#else
gcvt();
#endif
; return 0; }
configure:14389 : checking for getlogin
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getprotobyname
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getprotobynumbe r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getservbyname
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getservbyport
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getrusage
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gettimeofday
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gmtime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for isascii
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for link
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for localtime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for lockf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for lrand48
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for memcpy
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `memcpy'
configure:14389 : checking for memmove
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for mkstemp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for mmap
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for nl_langinfo
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for perror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for poll
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for putenv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for realpath
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for random
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for rand_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for regcomp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for res_search
configure:14389 : checking for scandir
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setitimer
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setlocale
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for localeconv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setsockopt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setvbuf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for shutdown
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for sin
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `sin'
configure:14389 : checking for snprintf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for srand48
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for srandom
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for statfs
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for statvfs
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for std_syslog
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccRHpEAO.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `std_syslog'
configure: failed program was:
#line 14394 "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_sys log) || defined (__stub___std_s yslog)
choke me
#else
std_syslog();
#endif
; return 0; }
configure:14389 : checking for strcasecmp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strcoll
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strdup
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strerror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strftime
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strstr
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `strstr'
configure:14389 : checking for strtok_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for symlink
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for tempnam
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccIgKESY.o: In function `main':
/usr/php-4.3.3/configure:14411 : warning: tempnam() possibly used unsafely; consider using mkstemp()
configure:14389 : checking for tzset
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for unsetenv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for usleep
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for utime
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for vsnprintf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14443 : checking for getaddrinfo
configure:14455 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for strlcat
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for strlcpy
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for getopt
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14533 : checking whether utime accepts a null argument
configure:14554 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14580 : checking for working alloca.h
configure:14613 : checking for alloca
configure:14646 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14813 : checking whether sprintf is broken
configure:14828 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14862 : checking whether snprintf is broken
configure:14892 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14926 : checking for declared timezone
configure:14947 : gcc -c -g -O2 conftest.c 1>&5
configure:14973 : checking for type of reentrant time-related functions
configure:15002 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure: In function `main':
configure:14994 : warning: assignment makes integer from pointer without a cast
configure:14995 : too many arguments to function `asctime_r'
configure: failed program was:
#line 14984 "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:15032 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure: In function `main':
configure:15025 : too many arguments to function `asctime_r'
configure: failed program was:
#line 15016 "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:15070 : checking for readdir_r
configure:15098 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:15120 : checking for type of readdir_r
configure:15156 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:15274 : checking whether to include debugging symbols
configure:15307 : checking layout of installed files
configure:15341 : checking path to configuration file
configure:15377 : checking directory to be scanned for configuration files
configure:15410 : checking whether to install PEAR, and where
configure:15470 : checking whether to enable safe mode by default
configure:15505 : checking for safe mode exec dir
configure:15546 : checking whether to enable PHP's own SIGCHLD handler
configure:15583 : checking whether to enable magic quotes by default
configure:15620 : checking whether to enable runpaths
configure:15645 : checking whether to explicitly link against libgcc
configure:15724 : checking whether to enable short tags by default
configure:15761 : checking whether to enable dmalloc
configure:15849 : checking whether to enable IPv6 support
configure:15882 : checking for OpenSSL support
configure:16370 : checking for ZLIB support
configure:16416 : checking if the location of ZLIB install directory is defined
configure:16756 : checking for gzgets in -lz
configure:16775 : gcc -o conftest -g -O2 conftest.c -lz -lm 1>&5
configure:16913 : checking whether to enable bc style precision math functions
configure:17194 : checking for BZip2 support
configure:17646 : checking whether to enable calendar conversion support
configure:17910 : checking for cpdflib support
configure:18946 : checking for CRACKlib support
configure:19357 : checking whether to enable ctype functions
configure:19619 : checking for CURL support
configure:20397 : checking for cyrus imap support
configure:21309 : checking for xDBM support
configure:21927 : checking whether to enable DBA
configure:22253 : checking for GDBM support
configure:22558 : checking for NDBM support
configure:22857 : checking for Berkeley DB4 support
configure:23177 : checking for Berkeley DB3 support
configure:23497 : checking for Berkeley DB2 support
configure:23817 : checking for DBM support
configure:24158 : checking for CDB support
configure:24212 : checking for INI File support
configure:24266 : checking for FlatFile support
configure:24281 : checking whether to enable DBA interface
configure:24523 : checking whether to enable dbase support
configure:24785 : checking whether to enable dbx support
configure:25043 : checking whether to enable direct I/O support
configure:25303 : checking for DOM support
configure:25963 : checking for DOM XSLT support
configure:25988 : checking for DOM EXSLT support
configure:26631 : checking whether to enable EXIF (metadata from images) support
configure:26893 : checking for FrontBase SQL92 (fbsql) support
configure:27314 : checking for FDF support
configure:28032 : checking whether to enable the bundled filePro support
configure:28294 : checking for FriBidi support
configure:28736 : checking whether to enable FTP support
configure:28999 : checking for GD support
configure:29046 : checking for the location of libjpeg
configure:29073 : checking for the location of libpng
configure:29126 : checking for the location of libXpm
configure:29151 : checking for FreeType 1.x support
configure:29176 : checking for FreeType 2
configure:29201 : checking for T1lib support
configure:29226 : checking whether to enable truetype string function in GD
configure:29251 : checking whether to enable JIS-mapped Japanese font support in GD
configure:31239 : checking for jpeg_read_heade r in -ljpeg
configure:31258 : gcc -o conftest -g -O2 conftest.c -ljpeg -lz -lm 1>&5
/usr/lib/libjpeg.a: could not read symbols: Archive has no index; run ranlib to add one
configure: failed program was:
#line 31247 "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 jpeg_read_heade r();
int main() {
jpeg_read_heade r()
; return 0; }
This is FreeBSD 5.1
installed zlib, installed jpeg and png libraries (in default directories)
GD 2.0.11 source is in /usr/gd-2.0.11 (compiled and installed flawlesly)
I configured PHP with the following:
../configure --with-gd=/usr/gd-2.0.11 --with-freetype-dir=/usr --enable-g
d-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr --enable-png-
dir=/usr --
with-zlib --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
When configure came to reading jpeg header, it gave me an error about
libjpeg.a
I need GD, because I want to use coppermine (picture gallery) on my
"future" web site.
Contents of config.log file (from here to end of message):
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1618: checking host system type
configure:1706: checking for gcc
configure:1819: checking whether the C compiler (gcc ) works
configure:1835: gcc -o conftest conftest.c 1>&5
configure:1861: checking whether the C compiler (gcc ) is a cross-compiler
configure:1866: checking whether we are using GNU C
configure:1875: gcc -E conftest.c
configure:1894: checking whether gcc accepts -g
configure:1927: checking whether gcc and cc understand -c and -o together
configure:1942: gcc -c conftest.c -o conftest.o 1>&5
configure:1943: gcc -c conftest.c -o conftest.o 1>&5
configure:1948: cc -c conftest.c 1>&5
configure:1950: cc -c conftest.c -o conftest.o 1>&5
configure:1951: cc -c conftest.c -o conftest.o 1>&5
configure:1978: checking how to run the C preprocessor
configure:1999: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2059: checking for AIX
configure:2086: checking if compiler supports -R
configure:2101: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
configure:2159: checking for ranlib
configure:2187: checking whether ln -s works
configure:2212: checking for gawk
configure:2212: checking for mawk
configure:2212: checking for nawk
configure:2246: checking for bison
configure:2246: checking for byacc
configure:2290: checking for flex
configure:2324: checking for yywrap in -lfl
configure:2343: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2367: checking lex output file root
configure:2388: checking whether yytext is a pointer
configure:2407: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2431: checking for working const
configure:2485: gcc -c -g -O2 conftest.c 1>&5
configure:2510: checking flex version
configure:2650: gcc -o conftest -g -O2 conftest.c 1>&5
/var/tmp//ccQc5UBs.o: In function `main':
/usr/php-4.3.3/configure:2646: undefined reference to `pthread_create '
configure: failed program was:
#line 2632 "configure"
#include "confdefs.h "
#include <pthread.h>
#include <stddef.h>
void *thread_routine (void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexat tr_t mattr;
int data = 1;
pthread_mutexat tr_init(&mattr) ;
return pthread_create( &thd, NULL, thread_routine, &data);
}
configure:2670: checking for pthreads_cflags
configure:2703: gcc -o conftest -g -O2 -kthread conftest.c 1>&5
gcc: unrecognized option `-kthread'
/var/tmp//cciKBNja.o: In function `main':
/usr/php-4.3.3/configure:2699: undefined reference to `pthread_create '
configure: failed program was:
#line 2685 "configure"
#include "confdefs.h "
#include <pthread.h>
#include <stddef.h>
void *thread_routine (void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexat tr_t mattr;
int data = 1;
pthread_mutexat tr_init(&mattr) ;
return pthread_create( &thd, NULL, thread_routine, &data);
}
configure:2703: gcc -o conftest -g -O2 -pthread conftest.c 1>&5
configure:2733: checking for pthreads_lib
configure:2859: checking for AOLserver support
configure:3079: checking for Apache 1.x module support via DSO through APXS
configure:3362: checking for Apache 1.x module support
configure:4143: checking for member fd in BUFF *
configure:4162: gcc -c -g -O2 conftest.c 1>&5
configure:4156: 19: httpd.h: No such file or directory
configure: In function `main':
configure:4158: `conn_rec' undeclared (first use in this function)
configure:4158: (Each undeclared identifier is reported only once
configure:4158: for each function it appears in.)
configure:4158: `c' undeclared (first use in this function)
configure: failed program was:
#line 4155 "configure"
#include "confdefs.h "
#include <httpd.h>
int main() {
conn_rec *c; int fd = c->client->fd;
; return 0; }
configure:4186: checking for mod_charset compatibility option
configure:4253: checking for Apache 2.0 filter-module support via DSO through APXS
configure:4989: checking for Apache 2.0 handler-module support via DSO through APXS
configure:5726: checking for Caudium support
configure:6036: checking for CLI build
configure:6096: checking for embedded SAPI library support
configure:6279: checking for Zeus ISAPI support
configure:6489: checking for NSAPI support
configure:6810: checking for PHTTPD support
configure:7019: checking for Pi3Web support
configure:7328: checking for Roxen/Pike support
configure:7577: checking for Servlet support
configure:8055: checking for thttpd
configure:8261: checking for TUX
configure:8475: checking for webjames
configure:8876: checking for chosen SAPI module
configure:9781: checking for missing declarations of reentrant functions
configure:9790: gcc -c -g -O2 conftest.c 1>&5
configure:9815: gcc -c -g -O2 conftest.c 1>&5
configure:9840: gcc -c -g -O2 conftest.c 1>&5
configure:9865: gcc -c -g -O2 conftest.c 1>&5
configure:9890: gcc -c -g -O2 conftest.c 1>&5
configure:9914: checking for sendmail
configure:9955: checking whether system uses EBCDIC
configure:9974: gcc -o conftest -g -O2 conftest.c 1>&5
configure: failed program was:
#line 9966 "configure"
#include "confdefs.h "
int main(void) {
return (unsigned char)'A' != (unsigned char)0xC1;
}
configure:10048 : checking for socket
configure:10076 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10305 : checking for htonl
configure:10333 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10562 : checking for gethostname
configure:10590 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:10819 : checking for gethostbyaddr
configure:10847 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11076 : checking for yp_get_default_ domain
configure:11104 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11334 : checking for dlopen
configure:11362 : gcc -o conftest -g -O2 conftest.c 1>&5
configure:11592 : checking for sin in -lm
configure:11611 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:11604 : warning: conflicting types for built-in function `sin'
configure:11645 : checking for res_search
configure:11673 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12181 : checking for inet_aton
configure:12209 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12577 : checking for dn_skipname
configure:12605 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccIi95iu.o: In function `main':
/usr/php-4.3.3/configure:12599 : undefined reference to `dn_skipname'
configure: failed program was:
#line 12582 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dn_skipname(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dn_skipname();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dn_skip name) || defined (__stub___dn_sk ipname)
choke me
#else
dn_skipname();
#endif
; return 0; }
configure:12623 : checking for __dn_skipname
configure:12651 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:12971 : checking for ANSI C header files
configure:12984 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13051 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13081 : checking for dirent.h that defines DIR
configure:13094 : gcc -c -g -O2 conftest.c 1>&5
configure:13119 : checking for opendir in -ldir
configure:13138 : gcc -o conftest -g -O2 conftest.c -ldir -lm 1>&5
/usr/bin/ld: cannot find -ldir
configure: failed program was:
#line 13127 "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:13245 : checking for fclose declaration
configure:13254 : gcc -c -g -O2 conftest.c 1>&5
configure:13328 : checking for ApplicationServ ices/ApplicationServ ices.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :53: ApplicationServ ices/ApplicationServ ices.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <ApplicationSer vices/ApplicationServ ices.h>
configure:13328 : checking for sys/param.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/types.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/time.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for netinet/in.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for alloca.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :20: alloca.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <alloca.h>
configure:13328 : checking for arpa/inet.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for arpa/nameser.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for assert.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for crypt.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :19: crypt.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <crypt.h>
configure:13328 : checking for fcntl.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for grp.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for ieeefp.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for langinfo.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for limits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for locale.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for monetary.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for mach-o/dyld.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <mach-o/dyld.h>
configure:13328 : checking for netdb.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for pwd.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for resolv.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for signal.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for stdarg.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for stdlib.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for string.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for syslog.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sysexits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/file.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/mman.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/mount.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/poll.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/resource.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/select.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/socket.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/statfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :24: sys/statfs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/statfs.h>
configure:13328 : checking for sys/statvfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/vfs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :21: sys/vfs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/vfs.h>
configure:13328 : checking for sys/sysexits.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/sysexits.h>
configure:13328 : checking for sys/varargs.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <sys/varargs.h>
configure:13328 : checking for sys/wait.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for unistd.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for unix.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13334 :18: unix.h: No such file or directory
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h "
#include <unix.h>
configure:13328 : checking for utime.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/utsname.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for sys/ipc.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13328 : checking for dlfcn.h
configure:13338 : gcc -E conftest.c >/dev/null 2>conftest.out
configure:13367 : checking for fopencookie
configure:13395 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccOjhvYr.o: In function `main':
/usr/php-4.3.3/configure:13389 : undefined reference to `fopencookie'
configure: failed program was:
#line 13372 "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_fopenco okie) || defined (__stub___fopen cookie)
choke me
#else
fopencookie();
#endif
; return 0; }
configure:13539 : checking for broken getcwd
configure:13554 : checking for broken libc stdio
configure:13615 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13643 : checking whether struct tm is in sys/time.h or time.h
configure:13656 : gcc -c -g -O2 conftest.c 1>&5
configure:13677 : checking for tm_zone in struct tm
configure:13690 : gcc -c -g -O2 conftest.c 1>&5
configure:13749 : checking for tm_gmtoff in struct tm
configure:13762 : gcc -c -g -O2 conftest.c 1>&5
configure:13785 : checking for struct flock
configure:13800 : gcc -c -g -O2 conftest.c 1>&5
configure:13827 : checking for socklen_t
configure:13844 : gcc -c -g -O2 conftest.c 1>&5
configure:13870 : checking size of long
configure:13889 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13909 : checking size of int
configure:13928 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:13949 : checking for st_blksize in struct stat
configure:13962 : gcc -c -g -O2 conftest.c 1>&5
configure:13984 :checking for st_blocks in struct stat
configure:13997 : gcc -c -g -O2 conftest.c 1>&5
configure:14024 : checking for st_rdev in struct stat
configure:14037 : gcc -c -g -O2 conftest.c 1>&5
configure:14059 : checking for size_t
configure:14092 : checking for uid_t in sys/types.h
configure:14127 : checking for struct sockaddr_storag e
configure:14140 : gcc -c -g -O2 conftest.c 1>&5
configure:14172 : gcc -c -g -O2 conftest.c 1>&5
configure:14185 : checking for IPv6 support
configure:14199 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14217 : checking for vprintf
configure:14245 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for alphasort
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for asctime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for chroot
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for ctime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for cuserid
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccJOT3hE.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `cuserid'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cuserid(); 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 cuserid();
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_cuserid ) || defined (__stub___cuser id)
choke me
#else
cuserid();
#endif
; return 0; }
configure:14389 : checking for crypt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//cc1VpJxk.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `crypt'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); 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 crypt();
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_crypt) || defined (__stub___crypt )
choke me
#else
crypt();
#endif
; return 0; }
configure:14389 : checking for flock
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for ftok
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for funopen
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gai_strerror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gcvt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccKosMxZ.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `gcvt'
configure: failed program was:
#line 14394 "configure"
#include "confdefs.h "
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gcvt(); 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 gcvt();
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_gcvt) || defined (__stub___gcvt)
choke me
#else
gcvt();
#endif
; return 0; }
configure:14389 : checking for getlogin
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getprotobyname
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getprotobynumbe r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getservbyname
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getservbyport
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for getrusage
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gettimeofday
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for gmtime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for isascii
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for link
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for localtime_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for lockf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for lrand48
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for memcpy
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `memcpy'
configure:14389 : checking for memmove
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for mkstemp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for mmap
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for nl_langinfo
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for perror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for poll
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for putenv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for realpath
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for random
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for rand_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for regcomp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for res_search
configure:14389 : checking for scandir
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setitimer
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setlocale
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for localeconv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setsockopt
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for setvbuf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for shutdown
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for sin
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `sin'
configure:14389 : checking for snprintf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for srand48
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for srandom
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for statfs
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for statvfs
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for std_syslog
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccRHpEAO.o: In function `main':
/usr/php-4.3.3/configure:14411 : undefined reference to `std_syslog'
configure: failed program was:
#line 14394 "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_sys log) || defined (__stub___std_s yslog)
choke me
#else
std_syslog();
#endif
; return 0; }
configure:14389 : checking for strcasecmp
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strcoll
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strdup
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strerror
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strftime
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for strstr
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14401 : warning: conflicting types for built-in function `strstr'
configure:14389 : checking for strtok_r
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for symlink
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for tempnam
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
/var/tmp//ccIgKESY.o: In function `main':
/usr/php-4.3.3/configure:14411 : warning: tempnam() possibly used unsafely; consider using mkstemp()
configure:14389 : checking for tzset
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for unsetenv
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for usleep
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for utime
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14389 : checking for vsnprintf
configure:14417 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14443 : checking for getaddrinfo
configure:14455 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for strlcat
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for strlcpy
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14478 : checking for getopt
configure:14506 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14533 : checking whether utime accepts a null argument
configure:14554 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14580 : checking for working alloca.h
configure:14613 : checking for alloca
configure:14646 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14813 : checking whether sprintf is broken
configure:14828 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14862 : checking whether snprintf is broken
configure:14892 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:14926 : checking for declared timezone
configure:14947 : gcc -c -g -O2 conftest.c 1>&5
configure:14973 : checking for type of reentrant time-related functions
configure:15002 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure: In function `main':
configure:14994 : warning: assignment makes integer from pointer without a cast
configure:14995 : too many arguments to function `asctime_r'
configure: failed program was:
#line 14984 "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:15032 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure: In function `main':
configure:15025 : too many arguments to function `asctime_r'
configure: failed program was:
#line 15016 "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:15070 : checking for readdir_r
configure:15098 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:15120 : checking for type of readdir_r
configure:15156 : gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:15274 : checking whether to include debugging symbols
configure:15307 : checking layout of installed files
configure:15341 : checking path to configuration file
configure:15377 : checking directory to be scanned for configuration files
configure:15410 : checking whether to install PEAR, and where
configure:15470 : checking whether to enable safe mode by default
configure:15505 : checking for safe mode exec dir
configure:15546 : checking whether to enable PHP's own SIGCHLD handler
configure:15583 : checking whether to enable magic quotes by default
configure:15620 : checking whether to enable runpaths
configure:15645 : checking whether to explicitly link against libgcc
configure:15724 : checking whether to enable short tags by default
configure:15761 : checking whether to enable dmalloc
configure:15849 : checking whether to enable IPv6 support
configure:15882 : checking for OpenSSL support
configure:16370 : checking for ZLIB support
configure:16416 : checking if the location of ZLIB install directory is defined
configure:16756 : checking for gzgets in -lz
configure:16775 : gcc -o conftest -g -O2 conftest.c -lz -lm 1>&5
configure:16913 : checking whether to enable bc style precision math functions
configure:17194 : checking for BZip2 support
configure:17646 : checking whether to enable calendar conversion support
configure:17910 : checking for cpdflib support
configure:18946 : checking for CRACKlib support
configure:19357 : checking whether to enable ctype functions
configure:19619 : checking for CURL support
configure:20397 : checking for cyrus imap support
configure:21309 : checking for xDBM support
configure:21927 : checking whether to enable DBA
configure:22253 : checking for GDBM support
configure:22558 : checking for NDBM support
configure:22857 : checking for Berkeley DB4 support
configure:23177 : checking for Berkeley DB3 support
configure:23497 : checking for Berkeley DB2 support
configure:23817 : checking for DBM support
configure:24158 : checking for CDB support
configure:24212 : checking for INI File support
configure:24266 : checking for FlatFile support
configure:24281 : checking whether to enable DBA interface
configure:24523 : checking whether to enable dbase support
configure:24785 : checking whether to enable dbx support
configure:25043 : checking whether to enable direct I/O support
configure:25303 : checking for DOM support
configure:25963 : checking for DOM XSLT support
configure:25988 : checking for DOM EXSLT support
configure:26631 : checking whether to enable EXIF (metadata from images) support
configure:26893 : checking for FrontBase SQL92 (fbsql) support
configure:27314 : checking for FDF support
configure:28032 : checking whether to enable the bundled filePro support
configure:28294 : checking for FriBidi support
configure:28736 : checking whether to enable FTP support
configure:28999 : checking for GD support
configure:29046 : checking for the location of libjpeg
configure:29073 : checking for the location of libpng
configure:29126 : checking for the location of libXpm
configure:29151 : checking for FreeType 1.x support
configure:29176 : checking for FreeType 2
configure:29201 : checking for T1lib support
configure:29226 : checking whether to enable truetype string function in GD
configure:29251 : checking whether to enable JIS-mapped Japanese font support in GD
configure:31239 : checking for jpeg_read_heade r in -ljpeg
configure:31258 : gcc -o conftest -g -O2 conftest.c -ljpeg -lz -lm 1>&5
/usr/lib/libjpeg.a: could not read symbols: Archive has no index; run ranlib to add one
configure: failed program was:
#line 31247 "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 jpeg_read_heade r();
int main() {
jpeg_read_heade r()
; return 0; }