Pb de ./configure pour l'install de php avec mysql

white_angel_22
Invité n'ayant pas de compte PHPfrance

21 déc. 2005, 15:39

bonjour,

je poste ce message parce que j'ai écumé plein de forum et je n'y ai pas trouver de réponse

voilà, j'ai installé mysql et apache sur linux sans problème. j'ai installé les packages php-mysql et la zlib 1.2.3

par contre quand j'essaye de lancer .configure dans php en tenant compte de mysql, j'ai l'erreur :
"configure: error: mysql configure failed. Please check config.log for more information." quand je mets le chemin des libraires zlib

si je n'indique pas le chemin des librairies zlib j'ai :
"configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>"

merci pour votre aide

Eléphant du PHP | 76 Messages

21 déc. 2005, 16:22

Que contient le fichier config.log ?
La vie est une maladie mortelle sexuellement transmissible!

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 17:14

Oui, il faudrait donner quelques précisions:
-Quelle version d'apache, de mysql et de php?
-Quelle distribution?

De plus, l'installation de php est totalement indépendante de mysql normalement, c'est après que l'on configure. Pour php, essaie de le trouver déjà compilé, ça règle bien des problèmes.
Image

Mammouth du PHP | 19672 Messages

21 déc. 2005, 17:27

...
-Quelle distribution?
....
Rien indique dans son message qu'il est sous Linux ;)
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe:

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 17:29

Rien indique dans son message qu'il est sous Linux
Il y en a des programmes qui arrivent pas compilés sous Windows? ou des .configure? et il parle de packages...
Image

Mammouth du PHP | 19672 Messages

21 déc. 2005, 18:10

TU peux parfaitement installer PHP à la main sans utiliser d'installeur, directement à partir des fichiers "en vrac" : il te reste ensuite à le configurer.
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe:

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 18:18

Oui, probablement mais ce qui laisse aucun doute:
voilà, j'ai installé mysql et apache sur linux sans problème. j'ai installé les packages php-mysql et la zlib 1.2.3
Mais pour les logiciels sous Windows qui arrivent pas compilés, j'étais pas au courant, mais par contre, c'est toujours plus facile à installer avec l'assistant. Et d'ailleurs pour php, si je me rappelle bien de mon insallation, y'avait pas d'assistant, je décompressais et il était installé...
Image

Mammouth du PHP | 19672 Messages

21 déc. 2005, 18:21

C,est de ça que je parle, on décompresse et en fait les fichiers sont prêts à l'emploi. Dans un sens, ils sont déjà compilés pour certains puisque ce sont des dll ou des exécutables par exemple.
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe:

white_angel_22
Invité n'ayant pas de compte PHPfrance

21 déc. 2005, 19:20

bon c'est vrai que j'aurai pû donner plus de détails
alors j'utilise apache 2.2.0 , php 5.1.1 et mysql 5.0.17

le config.log donne (mais c'est du chinois pour moi) quand je précise le chemin de zlib :

Code : Tout sélectionner

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:2154: checking for Cygwin environment configure:2170: cc -c conftest.c 1>&5 configure: In function 'main': configure:2166: error: '__CYGWIN32__' undeclared (first use in this function) configure:2166: error: (Each undeclared identifier is reported only once configure:2166: error: for each function it appears in.) configure: failed program was: #line 2159 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:2187: checking for mingw32 environment configure:2199: cc -c conftest.c 1>&5 configure: In function 'main': configure:2195: error: '__MINGW32__' undeclared (first use in this function) configure:2195: error: (Each undeclared identifier is reported only once configure:2195: error: for each function it appears in.) configure: failed program was: #line 2192 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:2218: checking for egrep configure:2233: checking for a sed that does not truncate output configure:2353: checking host system type configure:2374: checking target system type configure:2472: checking for gcc configure:2585: checking whether the C compiler (gcc ) works configure:2601: gcc -o conftest conftest.c 1>&5 configure:2627: checking whether the C compiler (gcc ) is a cross-compiler configure:2632: checking whether we are using GNU C configure:2641: gcc -E conftest.c configure:2660: checking whether gcc accepts -g configure:2693: checking whether gcc and cc understand -c and -o together configure:2708: gcc -c conftest.c -o conftest.o 1>&5 configure:2709: gcc -c conftest.c -o conftest.o 1>&5 configure:2714: cc -c conftest.c 1>&5 configure:2716: cc -c conftest.c -o conftest.o 1>&5 configure:2717: cc -c conftest.c -o conftest.o 1>&5 configure:2744: checking how to run the C preprocessor configure:2765: gcc -E conftest.c >/dev/null 2>conftest.out configure:2824: checking for AIX configure:2848: checking whether ln -s works configure:2880: checking if compiler supports -R configure:2895: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5 gcc: unrecognized option '-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure: failed program was: #line 2888 "configure" #include "confdefs.h" int main() { ; return 0; } configure:2913: checking if compiler supports -Wl,-rpath, configure:2928: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1>&5 configure:2954: checking for re2c configure:3014: checking for gawk configure:3074: checking for bison configure:3074: checking for byacc configure:3114: checking for bison version configure:3155: checking for flex configure:3189: checking for yywrap in -lfl configure:3208: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:3232: checking lex output file root configure:3253: checking whether yytext is a pointer configure:3272: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:3296: checking for working const configure:3350: gcc -c -g -O2 conftest.c 1>&5 configure:3376: checking for flex version configure:3599: checking whether to force non-PIC code in shared modules configure:3695: gcc -o conftest -g -O2 conftest.c 1>&5 /root/tmp/ccsRWtve.o: In function `main': /usr/local/php/configure:3690: undefined reference to `pthread_mutexattr_init' /usr/local/php/configure:3691: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 3677 "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:3715: checking for pthreads_cflags configure:3755: gcc -o conftest -g -O2 -kthread conftest.c 1>&5 gcc: unrecognized option '-kthread' /root/tmp/ccG8Rhjl.o: In function `main': /usr/local/php/configure:3750: undefined reference to `pthread_mutexattr_init' /usr/local/php/configure:3751: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 3737 "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:3755: gcc -o conftest -g -O2 -pthread conftest.c 1>&5 configure:3785: checking for pthreads_lib configure:3922: checking for AOLserver support configure:4165: checking for Apache 1.x module support via DSO through APXS configure:4470: checking for Apache 1.x module support configure:5313: checking for mod_charset compatibility option configure:5450: checking for Apache 2.0 filter-module support via DSO through APXS configure:6280: checking for Apache 2.0 handler-module support via DSO through APXS configure:7111: checking for Apache 1.x (hooks) module support via DSO through APXS configure:7416: checking for Apache 1.x (hooks) module support configure:8259: checking for mod_charset compatibility option configure:8397: checking for Caudium support configure:8729: checking for CLI build configure:8787: checking for Continuity support configure:9034: checking for embedded SAPI library support configure:9257: checking for Zeus ISAPI support configure:9489: checking for Milter support configure:9764: checking for NSAPI support configure:10107: checking for PHTTPD support configure:10338: checking for Pi3Web support configure:10669: checking for Roxen/Pike support configure:11180: checking for thttpd configure:11408: checking for TUX configure:11644: checking for webjames configure:12072: checking for chosen SAPI module configure:12979: checking for sendmail configure:13024: checking whether system uses EBCDIC configure:13043: gcc -o conftest -g -O2 conftest.c 1>&5 configure: failed program was: #line 13035 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:13071: checking whether byte ordering is bigendian configure:13097: gcc -o conftest -g -O2 conftest.c 1>&5 configure: failed program was: #line 13081 "configure" #include "confdefs.h" int main(void) { short one = 1; char *cp = (char *)&one; if (*cp == 0) { return(0); } else { return(1); } } configure:13168: checking for socket configure:13196: gcc -o conftest -g -O2 conftest.c 1>&5 configure:13425: checking for socketpair configure:13453: gcc -o conftest -g -O2 conftest.c 1>&5 configure:13682: checking for htonl configure:13710: gcc -o conftest -g -O2 conftest.c 1>&5 configure:13939: checking for gethostname configure:13967: gcc -o conftest -g -O2 conftest.c 1>&5 configure:14196: checking for gethostbyaddr configure:14224: gcc -o conftest -g -O2 conftest.c 1>&5 configure:14453: checking for yp_get_default_domain configure:14481: gcc -o conftest -g -O2 conftest.c 1>&5 /root/tmp/ccI8vb6i.o: In function `main': /usr/local/php/configure:14475: undefined reference to `yp_get_default_domain' collect2: ld returned 1 exit status configure: failed program was: #line 14458 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char yp_get_default_domain(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yp_get_default_domain(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_yp_get_default_domain) || defined (__stub___yp_get_default_domain) choke me #else yp_get_default_domain(); #endif ; return 0; } configure:14499: checking for __yp_get_default_domain configure:14527: gcc -o conftest -g -O2 conftest.c 1>&5 /root/tmp/ccyAIiwr.o: In function `main': /usr/local/php/configure:14521: undefined reference to `__yp_get_default_domain' collect2: ld returned 1 exit status configure: failed program was: #line 14504 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __yp_get_default_domain(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __yp_get_default_domain(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___yp_get_default_domain) || defined (__stub_____yp_get_default_domain) choke me #else __yp_get_default_domain(); #endif ; return 0; } configure:14565: checking for yp_get_default_domain in -lnsl configure:14584: gcc -o conftest -g -O2 conftest.c -lnsl 1>&5 configure:14659: gcc -o conftest -g -O2 conftest.c -lnsl 1>&5 configure:14711: checking for dlopen configure:14739: gcc -o conftest -g -O2 conftest.c -lnsl 1>&5 /root/tmp/ccSJDywS.o: In function `main': /usr/local/php/configure:14733: undefined reference to `dlopen' collect2: ld returned 1 exit status configure: failed program was: #line 14716 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen(); 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 dlopen(); 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_dlopen) || defined (__stub___dlopen) choke me #else dlopen(); #endif ; return 0; } configure:14757: checking for __dlopen configure:14785: gcc -o conftest -g -O2 conftest.c -lnsl 1>&5 /root/tmp/cciI5nNX.o: In function `main': /usr/local/php/configure:14779: undefined reference to `__dlopen' collect2: ld returned 1 exit status configure: failed program was: #line 14762 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __dlopen(); 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 __dlopen(); 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___dlopen) || defined (__stub_____dlopen) choke me #else __dlopen(); #endif ; return 0; } configure:14823: checking for dlopen in -ldl configure:14842: gcc -o conftest -g -O2 conftest.c -ldl -lnsl 1>&5 configure:14917: gcc -o conftest -g -O2 conftest.c -lnsl -ldl 1>&5 configure:14969: checking for sin in -lm configure:14988: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1>&5 configure:14981: warning: conflicting types for built-in function 'sin' configure:15022: checking for res_search configure:15050: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1>&5 /root/tmp/cc4VV0Yu.o: In function `main': /usr/local/php/configure:15044: undefined reference to `res_search' collect2: ld returned 1 exit status configure: failed program was: #line 15027 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_res_search) || defined (__stub___res_search) choke me #else res_search(); #endif ; return 0; } configure:15068: checking for __res_search configure:15096: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1>&5 /root/tmp/ccEZfs1D.o: In function `main': /usr/local/php/configure:15090: undefined reference to `__res_search' collect2: ld returned 1 exit status configure: failed program was: #line 15073 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___res_search) || defined (__stub_____res_search) choke me #else __res_search(); #endif ; return 0; } configure:15134: checking for res_search in -lresolv configure:15153: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:15228: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl -lresolv 1>&5 configure:15558: checking for inet_aton configure:15586: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:15954: checking for dn_skipname configure:15982: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/ccwtorLb.o: In function `main': /usr/local/php/configure:15976: undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure: failed program was: #line 15959 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dn_skipname(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dn_skipname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dn_skipname) || defined (__stub___dn_skipname) choke me #else dn_skipname(); #endif ; return 0; } configure:16000: checking for __dn_skipname configure:16028: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:16348: checking for ANSI C header files configure:16361: gcc -E conftest.c >/dev/null 2>conftest.out configure:16428: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:16423: warning: incompatible implicit declaration of built-in function 'exit' configure:16456: checking for dirent.h that defines DIR configure:16469: gcc -c -g -O2 conftest.c 1>&5 configure:16494: checking for opendir in -ldir configure:16513: gcc -o conftest -g -O2 conftest.c -ldir -lresolv -lm -ldl -lnsl 1>&5 /usr/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 16502 "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:16633: checking for inttypes.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for stdint.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for dirent.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for ApplicationServices/ApplicationServices.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:53: error: ApplicationServices/ApplicationServices.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <ApplicationServices/ApplicationServices.h> configure:16633: checking for sys/param.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/types.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/time.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for netinet/in.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for alloca.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for arpa/inet.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for arpa/nameser.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for assert.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for crypt.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for fcntl.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for grp.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for ieeefp.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:20: error: ieeefp.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <ieeefp.h> configure:16633: checking for langinfo.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for limits.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for locale.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for monetary.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for mach-o/dyld.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:25: error: mach-o/dyld.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <mach-o/dyld.h> configure:16633: checking for netdb.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for pwd.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for resolv.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for signal.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for stdarg.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for stdlib.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for string.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for syslog.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sysexits.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/ioctl.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/file.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/mman.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/mount.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/poll.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/resource.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/select.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/socket.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/statfs.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/statvfs.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/vfs.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/sysexits.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:26: error: sys/sysexits.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <sys/sysexits.h> configure:16633: checking for sys/varargs.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:25: error: sys/varargs.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <sys/varargs.h> configure:16633: checking for sys/wait.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for termios.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for unistd.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for unix.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16639:18: error: unix.h: No such file or directory configure: failed program was: #line 16638 "configure" #include "confdefs.h" #include <unix.h> configure:16633: checking for utime.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/utsname.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for sys/ipc.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16633: checking for dlfcn.h configure:16643: gcc -E conftest.c >/dev/null 2>conftest.out configure:16672: checking for fopencookie configure:16700: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:16732: gcc -c -g -O2 conftest.c 1>&5 configure:16783: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:16776: warning: incompatible implicit declaration of built-in function 'exit' configure:16847: checking for broken getcwd configure:16862: checking for broken libc stdio configure:16923: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:16907: warning: incompatible implicit declaration of built-in function 'exit' configure: failed program was: #line 16895 "configure" #include "confdefs.h" #include <stdio.h> int main(int argc, char *argv[]) { FILE *fp; long position; char *filename = "/tmp/phpglibccheck"; fp = fopen(filename, "w"); if (fp == NULL) { perror("fopen"); exit(2); } fputs("foobar", fp); fclose(fp); fp = fopen(filename, "a+"); position = ftell(fp); fclose(fp); unlink(filename); if (position == 0) return 1; return 0; } configure:16951: checking whether struct tm is in sys/time.h or time.h configure:16964: gcc -c -g -O2 conftest.c 1>&5 configure:16985: checking for tm_zone in struct tm configure:16998: gcc -c -g -O2 conftest.c 1>&5 configure:17057: checking for missing declarations of reentrant functions configure:17066: gcc -c -g -O2 conftest.c 1>&5 configure:17091: gcc -c -g -O2 conftest.c 1>&5 configure:17116: gcc -c -g -O2 conftest.c 1>&5 configure:17141: gcc -c -g -O2 conftest.c 1>&5 configure:17166: gcc -c -g -O2 conftest.c 1>&5 configure:17187: checking for fclose declaration configure:17196: gcc -c -g -O2 conftest.c 1>&5 configure:17222: checking for tm_gmtoff in struct tm configure:17235: gcc -c -g -O2 conftest.c 1>&5 configure:17258: checking for struct flock configure:17273: gcc -c -g -O2 conftest.c 1>&5 configure:17300: checking for socklen_t configure:17317: gcc -c -g -O2 conftest.c 1>&5 configure:17343: checking size of intmax_t configure:17362: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:17357: error: 'intmax_t' undeclared (first use in this function) configure:17357: error: (Each undeclared identifier is reported only once configure:17357: error: for each function it appears in.) configure: failed program was: #line 17351 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(intmax_t)); return(0); } configure:17382: checking size of size_t configure:17401: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17421: checking size of ssize_t configure:17440: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:17435: error: 'ssize_t' undeclared (first use in this function) configure:17435: error: (Each undeclared identifier is reported only once configure:17435: error: for each function it appears in.) configure: failed program was: #line 17429 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(ssize_t)); return(0); } configure:17460: checking size of ptrdiff_t configure:17479: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:17474: error: 'ptrdiff_t' undeclared (first use in this function) configure:17474: error: (Each undeclared identifier is reported only once configure:17474: error: for each function it appears in.) configure: failed program was: #line 17468 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(ptrdiff_t)); return(0); } configure:17499: checking size of long long configure:17518: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17538: checking size of long long int configure:17557: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17577: checking size of long configure:17596: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17616: checking size of int configure:17635: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17656: checking for st_blksize in struct stat configure:17669: gcc -c -g -O2 conftest.c 1>&5 configure:17691: checking for st_blocks in struct stat configure:17704: gcc -c -g -O2 conftest.c 1>&5 configure:17731: checking for st_rdev in struct stat configure:17744: gcc -c -g -O2 conftest.c 1>&5 configure:17766: checking for size_t configure:17799: checking for uid_t in sys/types.h configure:17835: checking for struct sockaddr_storage configure:17848: gcc -c -g -O2 conftest.c 1>&5 configure:17869: checking for field sa_len in struct sockaddr configure:17883: gcc -c -g -O2 conftest.c 1>&5 configure: In function 'main': configure:17879: error: 'struct sockaddr' has no member named 'sa_len' configure: failed program was: #line 17875 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { static struct sockaddr sa; int n = (int) sa.sa_len; return n; ; return 0; } configure:17906: checking for IPv6 support configure:17920: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17936: checking for vprintf configure:17964: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:17948: warning: conflicting types for built-in function 'vprintf' configure:18117: checking for alphasort configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for asctime_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for chroot configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for ctime_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for cuserid configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for crypt configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/ccGLEfk2.o: In function `main': /usr/local/php/configure:18139: undefined reference to `crypt' collect2: ld returned 1 exit status configure: failed program was: #line 18122 "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:18117: checking for flock configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for ftok configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for funopen configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/cccmcENc.o: In function `main': /usr/local/php/configure:18139: undefined reference to `funopen' collect2: ld returned 1 exit status configure: failed program was: #line 18122 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char funopen(); 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 funopen(); 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_funopen) || defined (__stub___funopen) choke me #else funopen(); #endif ; return 0; } configure:18117: checking for gai_strerror configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for gcvt configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getlogin configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getprotobyname configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getprotobynumber configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getservbyname configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getservbyport configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for getrusage configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for gettimeofday configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for gmtime_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for grantpt configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for inet_ntoa configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for inet_ntop configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for inet_pton configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for isascii configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'isascii' configure:18117: checking for link configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for localtime_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for lockf configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for lrand48 configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for memcpy configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'memcpy' configure:18117: checking for memmove configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'memmove' configure:18117: checking for mkstemp configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for mmap configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for nl_langinfo configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for perror configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for poll configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for ptsname configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for putenv configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for realpath configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for random configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for rand_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for regcomp configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for res_search configure:18117: checking for scandir configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for setitimer configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for setlocale configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for localeconv configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for setpgid configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for setsockopt configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for setvbuf configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for shutdown configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for sin configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'sin' configure:18117: checking for snprintf configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'snprintf' configure:18117: checking for srand48 configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for srandom configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for statfs configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for statvfs configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for std_syslog configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/ccEDez3Y.o: In function `main': /usr/local/php/configure:18139: undefined reference to `std_syslog' collect2: ld returned 1 exit status configure: failed program was: #line 18122 "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:18117: checking for strcasecmp configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for strcoll configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for strdup configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'strdup' configure:18117: checking for strerror configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for strftime configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'strftime' configure:18117: checking for strptime configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for strstr configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'strstr' configure:18117: checking for strtok_r configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for symlink configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for tempnam configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/ccKSEeh0.o: In function `main': /usr/local/php/configure:18139: warning: the use of `tempnam' is dangerous, better use `mkstemp' configure:18117: checking for tzset configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for unlockpt configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for unsetenv configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for usleep configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for nanosleep configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for utime configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18117: checking for vsnprintf configure:18145: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18129: warning: conflicting types for built-in function 'vsnprintf' configure:18171: checking for getaddrinfo configure:18183: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18229: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:18199: warning: incompatible implicit declaration of built-in function 'memset' configure:18203: warning: incompatible implicit declaration of built-in function 'exit' configure:18207: warning: incompatible implicit declaration of built-in function 'exit' configure:18215: warning: incompatible implicit declaration of built-in function 'exit' configure:18219: warning: incompatible implicit declaration of built-in function 'exit' configure:18224: warning: incompatible implicit declaration of built-in function 'exit' configure:18261: checking for strlcat configure:18289: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/cccKTdfo.o: In function `main': /usr/local/php/configure:18283: undefined reference to `strlcat' collect2: ld returned 1 exit status configure: failed program was: #line 18266 "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:18261: checking for strlcpy configure:18289: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 /root/tmp/ccClTlDf.o: In function `main': /usr/local/php/configure:18283: undefined reference to `strlcpy' collect2: ld returned 1 exit status configure: failed program was: #line 18266 "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:18261: checking for getopt configure:18289: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18316: checking whether utime accepts a null argument configure:18337: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:18331: warning: incompatible implicit declaration of built-in function 'exit' configure:18363: checking for working alloca.h configure:18396: checking for alloca configure:18429: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18596: checking for declared timezone configure:18617: gcc -c -g -O2 conftest.c 1>&5 configure:18643: checking for type of reentrant time-related functions configure:18672: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:18664: warning: assignment makes integer from pointer without a cast configure:18665: error: too many arguments to function 'asctime_r' configure: failed program was: #line 18654 "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:18704: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:18697: error: too many arguments to function 'asctime_r' configure: failed program was: #line 18688 "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:18742: checking for readdir_r configure:18770: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure:18792: checking for type of readdir_r configure:18828: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1>&5 configure: In function 'main': configure:18820: warning: incompatible implicit declaration of built-in function 'exit' configure:18891: checking for in_addr_t configure:18947: checking whether to include debugging symbols configure:18980: checking layout of installed files configure:19014: checking path to configuration file configure:19050: checking directory to be scanned for configuration files configure:19080: checking whether to enable safe mode by default configure:19115: checking for safe mode exec dir configure:19156: checking whether to enable PHP's own SIGCHLD handler configure:19193: checking whether to enable magic quotes by default configure:19230: checking whether to enable runpaths configure:19255: checking whether to explicitly link against libgcc configure:19334: checking whether to enable short tags by default configure:19371: checking whether to enable dmalloc configure:19459: checking whether to enable IPv6 support configure:19489: checking how big to make fd sets configure:19509: checking whether to enable versioning configure:19557: checking whether to enable LIBXML support configure:19604: checking libxml2 install dir configure:19633: checking for xml2-config path configure:19790: checking whether libxml build works configure:19817: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5 configure:20168: checking for OpenSSL support configure:20214: checking for Kerberos support configure:21579: checking for PCRE support configure:22383: checking for ZLIB support configure:22429: checking if the location of ZLIB install directory is defined configure:22861: checking for gzgets in -lz configure:22880: gcc -o conftest -g -O2 conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5 configure:23018: checking whether to enable bc style precision math functions configure:23372: checking for BZip2 support configure:24004: checking whether to enable calendar conversion support configure:24337: checking whether to enable ctype functions configure:24670: checking for CURL support configure:24716: checking if we should use CURL for url streams configure:25719: checking size of long configure:25758: checking size of int configure:25798: checking for int32_t configure:25823: gcc -c -g -O2 conftest.c 1>&5 configure:25846: checking for uint32_t configure:25871: gcc -c -g -O2 conftest.c 1>&5 configure:25903: checking for sys/types.h configure:25903: checking for inttypes.h configure:25903: checking for stdint.h configure:25903: checking for string.h configure:25903: checking for stdlib.h configure:25943: checking for strtoll configure:25971: gcc -o conftest -g -O2 conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5 configure:25943: checking for atoll configure:25971: gcc -o conftest -g -O2 conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5 configure:25943: checking for strftime configure:26396: checking whether to enable DBA configure:26742: checking for QDBM support configure:27077: checking for GDBM support configure:27398: checking for NDBM support configure:27703: checking for Berkeley DB4 support configure:28029: checking for Berkeley DB3 support configure:28355: checking for Berkeley DB2 support configure:28599: checking for DB1 support configure:28958: checking for DBM support configure:29315: checking for CDB support configure:29369: checking for INI File support configure:29423: checking for FlatFile support configure:29438: checking whether to enable DBA interface configure:29750: checking whether to enable dbase support configure:30083: checking whether to enable DOM support configure:30161: checking for xml2-config path configure:30318: checking whether libxml build works configure:30736: checking whether to enable EXIF (metadata from images) support configure:31069: checking for FrontBase SQL92 (fbsql) support configure:31561: checking for FDF support configure:32375: checking whether to enable the bundled filePro support configure:32708: checking whether to enable FTP support configure:32754: checking OpenSSL dir for FTP configure:33753: checking for GD support configure:33800: checking for the location of libjpeg configure:33827: checking for the location of libpng configure:33880: checking for the location of libXpm configure:33905: checking for FreeType 1.x support configure:33930: checking for FreeType 2 configure:33955: checking for T1lib support configure:33980: checking whether to enable truetype string function in GD configure:34005: checking whether to enable JIS-mapped Japanese font support in GD configure:34059: checking for fabsf configure:34087: gcc -o conftest -g -O2 conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:34071: warning: conflicting types for built-in function 'fabsf' configure:34059: checking for floorf configure:34087: gcc -o conftest -g -O2 conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:34071: warning: conflicting types for built-in function 'floorf' configure:34534: checking for png_write_image in -lpng configure:34553: gcc -o conftest -g -O2 -lz conftest.c -lpng -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:41760: checking for GNU gettext support configure:42506: checking for GNU MP support configure:43275: checking for hwapi support configure:44060: checking for iconv support configure:44122: checking for iconv configure:44150: gcc -o conftest -g -O2 conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:44739: checking if iconv is glibc's configure:44748: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:44854: checking if iconv supports errno configure:44889: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 configure:44921: checking if your cpp allows macro usage in include lines configure:44933: gcc -c -I/usr/include -g -O2 conftest.c 1>&5 configure:45278: checking for IMAP support configure:45324: checking for IMAP Kerberos support configure:45349: checking for IMAP SSL support configure:47507: checking for Informix support configure:48118: checking for InterBase support configure:49042: checking for LDAP support configure:49088: checking for LDAP Cyrus SASL support configure:51890: checking whether to enable multibyte string support configure:51936: checking whether to enable multibyte regex support configure:51961: checking for external libmbfl configure:53543: checking for mcrypt support configure:54372: checking for mhash support configure:54844: checking whether to include mime_magic support configure:55199: checking for MING support configure:56122: checking for msession support configure:56830: checking for mSQL support configure:57339: checking for MSSQL support via FreeTDS configure:57987: checking for MySQL support configure:58033: checking for specified location of the MySQL UNIX socket configure:58090: checking for MySQL UNIX socket location configure:58276: checking for mysql_close in -lmysqlclient configure:58295: gcc -o conftest -g -O2 conftest.c -lmysqlclient -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 58284 "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 mysql_close(); int main() { mysql_close() ; return 0; } configure:58516: checking for mysql_error in -lmysqlclient configure:58535: gcc -o conftest -g -O2 -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 58524 "configure" #include "confdefs.h

white_angel_22
Invité n'ayant pas de compte PHPfrance

21 déc. 2005, 19:21

oups désolé, j'ai oublié de fermer la balise code :oops:

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 19:23

le config.log donne (mais c'est du chinois pour moi) quand je précise le chemin de zlib :
C'est pas du chinois, c'est du C++. Bon, bien sûr, ce code ne nous aide aucunement: Il n'y a pas d'erreur, sinon on le trouverait pas en téléchargement. Essaie de faire make install puis après, exécute .configure. Là je dis ça mais je suis pas certain du tout.
Image

white_angel_22
Invité n'ayant pas de compte PHPfrance

21 déc. 2005, 19:25

je me fait jeter avec la commande make install
"make: *** Pas de règle pour fabriquer la cible « install ». Arrêt."

il n'y a rien à compiler

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 19:28

Tu as testé mysql dans un terminal? Il est bien démarré?
Image

white_angel_22
Invité n'ayant pas de compte PHPfrance

21 déc. 2005, 19:42

il était pas démarré mais j'ai toujours la même erreur

ViPHP
ViPHP | 649 Messages

21 déc. 2005, 19:48

Pour éviter bien des problèmes, l'idéal est de télécharger une version déjà compilé:
We do not distribute UNIX/Linux binaries. Most Linux distributions come with PHP these days, so if you do not want to compile your own, go to your distribution's download site. Binaries available on external servers:
Par contre, ils donnent une série de lien qui eux offrent php version binaire, y'a qu'à regarder dans le menu de gauche: http://www.php.net/downloads.php

Tu verras, tu décompresses et voilà!
Image