aktualizacja php problem z MySQL header

Instalacja Slackware Linux, problemy i wstępna konfiguracja, aktualizacje do nowszych wersji.

Moderatorzy: Moderatorzy, Administratorzy

darekw
Użytkownik
Posty: 3
Rejestracja: 2012-02-15, 10:34

aktualizacja php problem z MySQL header

Post autor: darekw » 2012-02-15, 11:34

Witam, na początku proszę o wyrozumiałość bo to mój pierwszy post na szanownym forum. Jestem dość zielony z Slackware ale przeszukiwałem bez efetów sieć przez parę dni i proszę mnie nie kierować na google. Otóż mam serwer z Slackware 10.2 z apache chyba 1.3 i PHP 4. Muszę mieć do obsługi danych PHP5. Po pierwszej próbie wgrania ze żródeł pojawiły się błędy z Mysql, więc zainstalowałem ze żródeł MySQL 4.0.24 według opisu w necie i wszystko jest OK. (Opis Artura Kwiatkowskiego). Natomiast przy instalacji PHP nadal są błędy i tak jeżeli

Kod: Zaznacz cały

./configure ................--with-mysql=/usr/local/mysql   pojawia się błąd:
configure: error : wrong my sql library vesion or lib not found
Check config.log flle for more information
Jeżali z koleji zrobię

Kod: Zaznacz cały

./configure ................--with-mysql=/usr/local/mysql/bin   pojawia się błąd:
Cannt find MySQL header files under /usr/local/mysql/bin
Note that the MySQL client library is not bounded anytime
Po kilku dniach szukania po necie dotarłem do wskazówek ze należy doinstalować komendą biblioteki

Kod: Zaznacz cały

sudo apt-get install libmysqlclient-dev
Ale nie mam w shellu poleceń ani sudo ani apt-get nie wiem skąd wziąść libmysqlclient-dev i jak to zaistalować i gdzie.
Pomocy bo jestem za zielony na takie rzeczy. Gdyby ktoś łopatologicznie to wytłumaczył to będę bardzo wdzięczny.

dienet: używamy code i nie używamy koloru jak nie trzeba.

Awatar użytkownika
michas100
Użytkownik
Posty: 316
Rejestracja: 2009-06-23, 07:56
Lokalizacja: Włocławek
Kontakt:

Re: aktualizacja php problem z MySQL header

Post autor: michas100 » 2012-02-15, 12:04

apt-get :arrow: z reguły debian.
Potrzebujesz jak coś danych źródłowych lub paczki dla slackware....
slackware student :-)
ObrazekObrazek

Awatar użytkownika
ydoom
Użytkownik
Posty: 261
Rejestracja: 2009-08-27, 14:24

Re: aktualizacja php problem z MySQL header

Post autor: ydoom » 2012-02-15, 14:07

darekw, zobacz jaki komunikat dostałeś:
darekw pisze:Check config.log flle for more information
Po pierwsze zajrzyj tam i sprawdź te "more information", oczywiście podziel się z nami :-)

darekw
Użytkownik
Posty: 3
Rejestracja: 2012-02-15, 10:34

Re: aktualizacja php problem z MySQL header

Post autor: darekw » 2012-02-15, 21:19

Prawdę mówiąc nic mi te wpisy w config.log nie mówią bo niestety jestem za zielony aby je poprawnie zinterpretować. Ale nic nie stoi na przeszkodzie i jutro zgram cały plik i podepnę do zczytania.

Awatar użytkownika
dienet
Moderator
Posty: 2106
Rejestracja: 2007-07-24, 18:58
Lokalizacja: Racibórz/Rybnik
Kontakt:

Re: aktualizacja php problem z MySQL header

Post autor: dienet » 2012-02-15, 21:23

darekw, a co Cie tak trzyma w tych średniowiecznych czasach? Wiesz że im dalej w las tym będzie więcej drzew i będzie ciemniej i wilki itp? Lepiej zmień soft i przejdź na coś nowszego.
Pozdr0
dienet
[img]http://i164.photobucket.com/albums/u19/slawek15/kotekeo0lq3.jpg[/img]

darekw
Użytkownik
Posty: 3
Rejestracja: 2012-02-15, 10:34

Re: aktualizacja php problem z MySQL header

Post autor: darekw » 2012-02-16, 09:33

Też chciałbym zainstalować wszystko na najnowszej dystrybucji ale jest wiele doinstalowanych rzeczy których nie jestem w stanie odtworzyć i skonfigurować. Jak pisałem jestem jeszcze za zielony. Ale nad tym pracuję. Teraz na szybko brkuje PHP5. Może popełniłem bląd nie odinstalowująć PHP4 ? Poniżej logi, z katalogu instalacyjnego PHP5.

Kod: Zaznacz cały

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1888: checking for Cygwin environment
configure:1904: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1900: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1900: error: (Each undeclared identifier is reported only once
configure:1900: error: for each function it appears in.)
configure: failed program was:
#line 1893 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1921: checking for mingw32 environment
configure:1933: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1929: error: `__MINGW32__' undeclared (first use in this function)
configure:1929: error: (Each undeclared identifier is reported only once
configure:1929: error: for each function it appears in.)
configure: failed program was:
#line 1926 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1952: checking for egrep
configure:1967: checking for a sed that does not truncate output
configure:2117: checking host system type
configure:2138: checking target system type
configure:2250: checking for gcc
configure:2363: checking whether the C compiler (gcc  ) works
configure:2379: gcc -o conftest    conftest.c  1>&5
configure:2405: checking whether the C compiler (gcc  ) is a cross-compiler
configure:2410: checking whether we are using GNU C
configure:2419: gcc -E conftest.c
configure:2438: checking whether gcc accepts -g
configure:2470: checking how to run the C preprocessor
configure:2491: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2552: checking for icc
configure:2576: checking for suncc
configure:2601: checking whether gcc and cc understand -c and -o together
configure:2616: gcc -c conftest.c -o conftest.o 1>&5
configure:2617: gcc -c conftest.c -o conftest.o 1>&5
configure:2622: cc -c conftest.c 1>&5
configure:2624: cc -c conftest.c -o conftest.o 1>&5
configure:2625: cc -c conftest.c -o conftest.o 1>&5
configure:2652: checking how to run the C preprocessor
configure:2732: checking for AIX
configure:2756: checking whether ln -s works
configure:2781: checking for system library directory
configure:2807: checking whether to enable runpaths
configure:2831: checking if compiler supports -R
configure:2846: 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 2839 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2864: checking if compiler supports -Wl,-rpath,
configure:2879: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  1>&5
configure:2910: checking for gawk
configure:2970: checking for bison
configure:3010: checking for bison version
configure:3050: checking for flex
configure:3084: checking for yywrap in -lfl
configure:3103: gcc -o conftest -g -O2   conftest.c -lfl   1>&5
configure:3127: checking lex output file root
configure:3148: checking whether yytext is a pointer
configure:3167: gcc -o conftest -g -O2   conftest.c  -lfl 1>&5
configure:3191: checking for working const
configure:3245: gcc -c -g -O2  conftest.c 1>&5
configure:3271: checking for flex version
configure:3315: checking for re2c
configure:3621: checking whether to force non-PIC code in shared modules
configure:3651: checking whether /dev/urandom exists
configure:3730: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccqzdKiM.o(.text+0x28): In function `main':
/usr/src/php-5.2.17/configure:3725: undefined reference to `pthread_mutexattr_init'
/tmp/ccqzdKiM.o(.text+0x3c):/usr/src/php-5.2.17/configure:3726: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3712 "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:3750: checking for pthreads_cflags
configure:3790: gcc -o conftest -g -O2 -kthread   conftest.c  1>&5
gcc: unrecognized option `-kthread'
/tmp/ccke2LDT.o(.text+0x28): In function `main':
/usr/src/php-5.2.17/configure:3785: undefined reference to `pthread_mutexattr_init'
/tmp/ccke2LDT.o(.text+0x3c):/usr/src/php-5.2.17/configure:3786: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3772 "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:3790: gcc -o conftest -g -O2 -pthread   conftest.c  1>&5
configure:3820: checking for pthreads_lib
configure:3994: checking for AOLserver support
configure:4251: checking for Apache 1.x module support via DSO through APXS
configure:4574: checking for Apache 1.x module support
configure:5407: checking whether to enable Apache charset compatibility option
configure:5485: checking for member fd in BUFF *
configure:5504: gcc -c -g -O2  -I/usr/include/apache conftest.c 1>&5
configure:5580: checking for Apache 2.0 filter-module support via DSO through APXS
configure:6428: checking for Apache 2.0 handler-module support via DSO through APXS
configure:7277: checking for Apache 1.x (hooks) module support via DSO through APXS
configure:7600: checking for Apache 1.x (hooks) module support
configure:8433: checking whether to enable Apache charset compatibility option
configure:8607: checking for Caudium support
configure:8958: checking for CLI build
configure:9008: checking for Continuity support
configure:9285: checking for embedded SAPI library support
configure:9502: checking for Zeus ISAPI support
configure:9751: checking for Milter support
configure:10035: checking for NSAPI support
configure:10387: checking for PHTTPD support
configure:10633: checking for Pi3Web support
configure:11000: checking whether Roxen module is build using ZTS
configure:11024: checking for Roxen/Pike support
configure:11302: checking for thttpd
configure:11563: checking for TUX
configure:11809: checking for webjames
configure:12437: checking for chosen SAPI module
configure:12494: checking for sendmail
configure:12533: checking whether system uses EBCDIC
configure:12552: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 12544 "configure"
#include "confdefs.h"

int main(void) { 
  return (unsigned char)'A' != (unsigned char)0xC1; 
} 

configure:12580: checking whether byte ordering is bigendian
configure:12606: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 12590 "configure"
#include "confdefs.h"

int main(void)
{
  short one = 1;
  char *cp = (char *)&one;

  if (*cp == 0) {
    return(0);
  } else {
    return(1);
  }
}
  
configure:12632: checking whether writing to stdout works
configure:12661: gcc -o conftest -g -O2   conftest.c  1>&5
configure:12736: checking for socket
configure:12764: gcc -o conftest -g -O2   conftest.c  1>&5
configure:12993: checking for socketpair
configure:13021: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13250: checking for htonl
configure:13278: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13507: checking for gethostname
configure:13535: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13764: checking for gethostbyaddr
configure:13792: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14021: checking for yp_get_default_domain
configure:14049: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccaHhkms.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14043: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14026 "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:14067: checking for __yp_get_default_domain
configure:14095: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccQNjoJz.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14089: undefined reference to `__yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14072 "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:14133: checking for yp_get_default_domain in -lnsl
configure:14152: gcc -o conftest -g -O2   conftest.c -lnsl   1>&5
configure:14227: gcc -o conftest -g -O2   conftest.c  -lnsl 1>&5
configure:14279: checking for dlopen
configure:14307: gcc -o conftest -g -O2   conftest.c -lnsl  1>&5
/tmp/ccgQpEwT.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14301: undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14284 "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:14325: checking for __dlopen
configure:14353: gcc -o conftest -g -O2   conftest.c -lnsl  1>&5
/tmp/cc8gxvt2.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14347: undefined reference to `__dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14330 "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:14391: checking for dlopen in -ldl
configure:14410: gcc -o conftest -g -O2   conftest.c -ldl  -lnsl  1>&5
configure:14485: gcc -o conftest -g -O2   conftest.c -lnsl  -ldl 1>&5
configure:14537: checking for sin in -lm
configure:14556: gcc -o conftest -g -O2   conftest.c -lm  -ldl -lnsl  1>&5
configure:14549: warning: conflicting types for built-in function `sin'
configure:14590: checking for res_search
configure:14618: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  1>&5
/tmp/ccUSVZLs.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14612: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14595 "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:14636: checking for __res_search
configure:14664: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  1>&5
/tmp/ccMs7oxg.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:14658: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14641 "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:14702: checking for res_search in -lresolv
configure:14721: gcc -o conftest -g -O2   conftest.c -lresolv  -lm -ldl -lnsl  1>&5
configure:14796: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  -lresolv 1>&5
configure:15126: checking for inet_aton
configure:15154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:15522: checking for dn_skipname
configure:15550: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccEidigH.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:15544: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15527 "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:15568: checking for __dn_skipname
configure:15596: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:15915: checking for ANSI C header files
configure:15928: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:15995: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16023: checking for dirent.h that defines DIR
configure:16036: gcc -c -g -O2  conftest.c 1>&5
configure:16061: checking for opendir in -ldir
configure:16080: gcc -o conftest -g -O2   conftest.c -ldir  -lresolv -lm -ldl -lnsl  1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 16069 "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:16202: checking for inttypes.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for stdint.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for dirent.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for ApplicationServices/ApplicationServices.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:53: ApplicationServices/ApplicationServices.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:16202: checking for sys/param.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/types.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/time.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for netinet/in.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for alloca.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for arpa/inet.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for arpa/nameser.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for assert.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for crypt.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for fcntl.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for grp.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for ieeefp.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:16202: checking for langinfo.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for limits.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for locale.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for monetary.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for netdb.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for pwd.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for resolv.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for signal.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for stdarg.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for stdlib.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for string.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for syslog.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sysexits.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/ioctl.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/file.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/mman.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/mount.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/poll.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/resource.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/select.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/socket.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/stat.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/statfs.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/statvfs.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/vfs.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/sysexits.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:16202: checking for sys/varargs.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:16202: checking for sys/wait.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/loadavg.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:25: sys/loadavg.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <sys/loadavg.h>
configure:16202: checking for termios.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for unistd.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for unix.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16208:18: unix.h: No such file or directory
configure: failed program was:
#line 16207 "configure"
#include "confdefs.h"
#include <unix.h>
configure:16202: checking for utime.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/utsname.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for sys/ipc.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for dlfcn.h
configure:16212: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16202: checking for assert.h
configure:16247: checking for mach-o/dyld.h
configure:16257: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16253:25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 16252 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:16288: checking for fopencookie
configure:16316: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16348: gcc -c -g -O2  conftest.c 1>&5
configure:16399: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16463: checking for broken getcwd
configure:16478: checking for broken libc stdio
configure:16539: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: failed program was:
#line 16511 "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:16567: checking whether struct tm is in sys/time.h or time.h
configure:16580: gcc -c -g -O2  conftest.c 1>&5
configure:16601: checking for tm_zone in struct tm
configure:16614: gcc -c -g -O2  conftest.c 1>&5
configure:16673: checking for missing declarations of reentrant functions
configure:16682: gcc -c -g -O2  conftest.c 1>&5
configure:16707: gcc -c -g -O2  conftest.c 1>&5
configure:16732: gcc -c -g -O2  conftest.c 1>&5
configure:16757: gcc -c -g -O2  conftest.c 1>&5
configure:16782: gcc -c -g -O2  conftest.c 1>&5
configure:16803: checking for fclose declaration
configure:16812: gcc -c -g -O2  conftest.c 1>&5
configure:16838: checking for tm_gmtoff in struct tm
configure:16851: gcc -c -g -O2  conftest.c 1>&5
configure:16874: checking for struct flock
configure:16889: gcc -c -g -O2  conftest.c 1>&5
configure:16916: checking for socklen_t
configure:16933: gcc -c -g -O2  conftest.c 1>&5
configure:16959: checking size of size_t
configure:16978: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16998: checking size of long long
configure:17017: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17037: checking size of long long int
configure:17056: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17076: checking size of long
configure:17095: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17115: checking size of int
configure:17134: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17156: checking size of intmax_t
configure:17197: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17236: checking size of ssize_t
configure:17277: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17316: checking size of ptrdiff_t
configure:17357: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17396: checking for st_blksize in struct stat
configure:17409: gcc -c -g -O2  conftest.c 1>&5
configure:17431: checking for st_blocks in struct stat
configure:17444: gcc -c -g -O2  conftest.c 1>&5
configure:17471: checking for st_rdev in struct stat
configure:17484: gcc -c -g -O2  conftest.c 1>&5
configure:17506: checking for size_t
configure:17539: checking for uid_t in sys/types.h
configure:17575: checking for struct sockaddr_storage
configure:17588: gcc -c -g -O2  conftest.c 1>&5
configure:17609: checking for field sa_len in struct sockaddr
configure:17623: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:17619: error: structure has no member named `sa_len'
configure: failed program was:
#line 17615 "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:17646: checking for IPv6 support
configure:17660: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17676: checking for vprintf
configure:17704: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17688: warning: conflicting types for built-in function `vprintf'
configure:17863: checking for alphasort
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for asctime_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for chroot
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for ctime_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for cuserid
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for crypt
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccM5YvmJ.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:17885: undefined reference to `crypt'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17868 "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:17863: checking for flock
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for ftok
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for funopen
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccA8k0Z0.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:17885: undefined reference to `funopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17868 "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:17863: checking for gai_strerror
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for gcvt
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getloadavg
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getlogin
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getprotobyname
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getprotobynumber
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getservbyname
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getservbyport
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getrusage
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for gettimeofday
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for gmtime_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getpwnam_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getgrnam_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for getpwuid/dev/null 2_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for grantpt
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for inet_ntoa
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for inet_ntop
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for inet_pton
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for isascii
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for link
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for localtime_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for lockf
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for lchown
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for lrand48
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for memcpy
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17875: warning: conflicting types for built-in function `memcpy'
configure:17863: checking for memmove
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for mkstemp
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for mmap
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for nl_langinfo
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for perror
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for poll
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for ptsname
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for putenv
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for realpath
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for random
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for rand_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for regcomp
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for res_search
configure:17863: checking for scandir
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setitimer
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setlocale
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for localeconv
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setenv
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setpgid
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setsockopt
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for setvbuf
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for shutdown
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for sin
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17875: warning: conflicting types for built-in function `sin'
configure:17863: checking for snprintf
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17875: warning: conflicting types for built-in function `snprintf'
configure:17863: checking for srand48
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for srandom
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for statfs
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for statvfs
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for std_syslog
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccsfId9f.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:17885: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17868 "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:17863: checking for strcasecmp
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strcoll
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strdup
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strerror
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strftime
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strnlen
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strptime
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for strstr
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17875: warning: conflicting types for built-in function `strstr'
configure:17863: checking for strtok_r
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for symlink
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for tempnam
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccc1OBOf.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:17885: warning: the use of `tempnam' is dangerous, better use `mkstemp'
configure:17863: checking for tzset
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for unlockpt
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for unsetenv
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for usleep
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for utime
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17863: checking for vsnprintf
configure:17891: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17875: warning: conflicting types for built-in function `vsnprintf'
configure:17917: checking for nanosleep
configure:17927: checking for nanosleep in -lrt
configure:17946: gcc -o conftest -g -O2   conftest.c -lrt  -lresolv -lm -ldl -lnsl  1>&5
configure:18021: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  -lrt 1>&5
configure:18068: checking for getaddrinfo
configure:18080: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18126: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18158: checking for strlcat
configure:18186: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccIOq7Pk.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:18180: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18163 "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:18158: checking for strlcpy
configure:18186: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccQTIVew.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:18180: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18163 "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:18158: checking for getopt
configure:18186: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18213: checking whether utime accepts a null argument
configure:18234: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18260: checking for working alloca.h
configure:18293: checking for alloca
configure:18326: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18493: checking for declared timezone
configure:18514: gcc -c -g -O2  conftest.c 1>&5
configure:18540: checking for type of reentrant time-related functions
configure:18569: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure: In function `main':
configure:18561: warning: assignment makes integer from pointer without a cast
configure:18562: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 18551 "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:18601: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure: In function `main':
configure:18594: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 18585 "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:18639: checking for readdir_r
configure:18667: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18689: checking for type of readdir_r
configure:18725: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:18788: checking for in_addr_t
configure:18827: checking for crypt_r
configure:18855: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccyqbZpp.o(.text+0xa): In function `main':
/usr/src/php-5.2.17/configure:18849: undefined reference to `crypt_r'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18832 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char crypt_r(); 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_r();

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_r) || defined (__stub___crypt_r)
choke me
#else
crypt_r();
#endif

; return 0; }
configure:19012: checking whether to include gcov symbols
configure:19175: checking whether to include debugging symbols
configure:19226: checking layout of installed files
configure:19261: checking path to configuration file
configure:19295: checking where to scan for configuration files
configure:19331: checking whether to enable safe mode by default
configure:19366: checking for safe mode exec dir
configure:19410: checking whether to enable PHP's own SIGCHLD handler
configure:19448: checking whether to enable magic quotes by default
configure:19486: checking whether to explicitly link against libgcc
configure:19566: checking whether to enable short tags by default
configure:19604: checking whether to enable dmalloc
configure:19692: checking whether to enable IPv6 support
configure:19722: checking how big to make fd sets
configure:19793: checking size of long
configure:19832: checking size of int
configure:19872: checking for int32_t
configure:19897: gcc -c -g -O2  conftest.c 1>&5
configure:19920: checking for uint32_t
configure:19945: gcc -c -g -O2  conftest.c 1>&5
configure:19977: checking for sys/types.h
configure:19977: checking for inttypes.h
configure:19977: checking for stdint.h
configure:19977: checking for string.h
configure:19977: checking for stdlib.h
configure:20017: checking for strtoll
configure:20045: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:20017: checking for atoll
configure:20045: gcc -o conftest -g -O2   conftest.c -lrt -lresolv -lm -ldl -lnsl  1>&5
configure:20017: checking for strftime
configure:20471: checking whether to enable LIBXML support
configure:20519: checking libxml2 install dir
configure:20548: checking for xml2-config path
configure:20706: checking whether libxml build works
configure:20733: gcc -o conftest -g -O2   conftest.c 
          
         -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm 1>&5
configure:21098: checking for OpenSSL support
configure:21145: checking for Kerberos support
configure:22574: checking for PCRE support
configure:23428: checking for ZLIB support
configure:23475: checking if the location of ZLIB install directory is defined
configure:23921: checking for gzgets in -lz
configure:23940: gcc -o conftest -g -O2   conftest.c -lz  -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm 1>&5
configure:24080: checking whether to enable bc style precision math functions
configure:24448: checking for BZip2 support
configure:25096: checking whether to enable calendar conversion support
configure:25443: checking whether to enable ctype functions
configure:25790: checking for cURL support
configure:25837: checking if we should use cURL for url streams
configure:27867: checking for QDBM support
configure:28198: checking for GDBM support
configure:28515: checking for NDBM support
configure:28834: checking for Berkeley DB4 support
configure:29157: checking for Berkeley DB3 support
configure:29480: checking for Berkeley DB2 support
configure:29719: checking for DB1 support
configure:30074: checking for DBM support
configure:30483: checking for CDB support
configure:30514: checking for INI File support
configure:30545: checking for FlatFile support
configure:30560: checking whether to enable DBA interface
configure:30890: checking whether to enable dbase support
configure:31237: checking whether to enable DOM support
configure:31316: checking for xml2-config path
configure:31474: checking whether libxml build works
configure:31924: checking whether to enable EXIF (metadata from images) support
configure:32271: checking for FrontBase SQL92 (fbsql) support
configure:32778: checking for FDF support
configure:33609: checking whether to enable input filter support
configure:33656: checking pcre install prefix
configure:34075: checking whether to enable FTP support
configure:34122: checking OpenSSL dir for FTP
configure:35139: checking for GD support
configure:35187: checking for the location of libjpeg
configure:35215: checking for the location of libpng
configure:35270: checking for the location of libXpm
configure:35296: checking for FreeType 1.x support
configure:35322: checking for FreeType 2
configure:35348: checking for T1lib support
configure:35374: checking whether to enable truetype string function in GD
configure:35400: checking whether to enable JIS-mapped Japanese font support in GD
configure:35456: checking for fabsf
configure:35484: gcc -o conftest -g -O2   conftest.c -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:35468: warning: conflicting types for built-in function `fabsf'
configure:35456: checking for floorf
configure:35484: gcc -o conftest -g -O2   conftest.c -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:35957: checking for png_write_image in -lpng
configure:35976: gcc -o conftest -g -O2   -lz conftest.c -lpng  -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:43524: gcc -o conftest -g -O2   conftest.c    -lpng -lz -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:43760: checking for GNU gettext support
configure:44521: checking for GNU MP support
configure:45307: checking whether to enable hash support
configure:45357: checking whether byte ordering is bigendian
configure:45408: checking size of short
configure:45427: gcc -o conftest -g -O2   conftest.c -lpng -lz -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:45447: checking size of int
configure:45486: checking size of long
configure:45525: checking size of long long
configure:45892: checking for iconv support
configure:45956: checking for iconv
configure:45984: gcc -o conftest -g -O2   conftest.c -lpng -lz -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:46579: checking if iconv is glibc's
configure:46588: gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  conftest.c -lpng -lz -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:46825: checking if iconv supports errno
configure:46860: gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  conftest.c -lpng -lz -lz -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
configure:46892: checking if your cpp allows macro usage in include lines
configure:46904: gcc -c -I/usr/include -g -O2  conftest.c 1>&5
configure:47260: checking for IMAP support
configure:47307: checking for IMAP Kerberos support
configure:47333: checking for IMAP SSL support
configure:49682: checking for InterBase support
configure:50620: checking whether to enable JavaScript Object Serialization support
configure:50669: checking for ANSI C header files
configure:51099: checking for LDAP support
configure:51146: checking for LDAP Cyrus SASL support
configure:53983: checking whether to enable multibyte string support
configure:54030: checking whether to enable multibyte regex support
configure:54056: checking whether to check multibyte regex backtrack
configure:54082: checking for external libmbfl
configure:55684: checking for mcrypt support
configure:56530: checking for mhash support
configure:57017: checking whether to include mime_magic support
configure:57386: checking for MING support
configure:58629: checking for mSQL support
configure:59153: checking for MSSQL support via FreeTDS
configure:59817: checking for MySQL support
configure:59864: checking for specified location of the MySQL UNIX socket
configure:59922: checking for MySQL UNIX socket location
dienet: jeszcze jeden taki wybryk to kasuje cały wątek.

Awatar użytkownika
ydoom
Użytkownik
Posty: 261
Rejestracja: 2009-08-27, 14:24

Re: aktualizacja php problem z MySQL header

Post autor: ydoom » 2012-02-16, 14:06

Popatrzyłem trochę do tego konfiguratora i wydaje mi się, że ma problemy ze znalezieniem biblioteki libmysqlclient. Ale głowy nie dam ;)
IMHO powinieneś przeinstalować MySQL do /usr/local/lib/mysql, albo w ogóle w /usr/lib/mysql, teraz masz u /usr/local/mysql.
PS: Może napisz dokładnie jakie parametry dajesz do configure, bo chyba wchodzi w te testy tylko po podaniu --with-mysqli

Awatar użytkownika
marco70
Moderator
Posty: 1105
Rejestracja: 2006-10-26, 19:03
Lokalizacja: K...l

Re: aktualizacja php problem z MySQL header

Post autor: marco70 » 2012-02-24, 15:50

Jak kolega by dobrze poszukał to PHP5 jest dla Slackware 10.2
http://ftp.slackware.pl/pub/slackware/s ... ages/php5/
ale teraz to już może być po wszystkim. Mysql jest w patches http://ftp.slackware.pl/pub/slackware/s ... ck10.2.tgz
Slackware 14.0 kde 4.8.5
i5-6500 CPU @ 3.20GHz

ODPOWIEDZ