PHP 5.3 für Linux

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

PHP 5.3 für Linux

Postby greenbanana » 09. September 2008 07:18

Kann mir jemand helfen, wie ich eine Testumgebung für Linux (Ubuntu 8.4) erstellen kann mit XAMPP und PHP 5.3?
greenbanana
 
Posts: 5
Joined: 08. September 2008 15:04

Postby glitzi85 » 09. September 2008 08:26

Eigentlich ganz einfach. Für diese 4 Schritte aus:
http://www.apachefriends.org/en/xampp-linux.html#374

Wenn du bis Schritt 4 durchgekommen bist, kannst du einfach im Ordner /opt/lampp/htdocs einen unterordner erstellen und dann dort dein Projekt starten. Aufgerufen wird das ganze dann so:

http://localhost/unterordner

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby greenbanana » 23. September 2008 20:46

Wenn ich das mache, habe ich aber nicht die Version 5.3. Oder verstehe ich Dich da falsch?
greenbanana
 
Posts: 5
Joined: 08. September 2008 15:04

Postby glitzi85 » 24. September 2008 17:56

Oh, das mit der Version hab ich überlesen, sorry.

Starte XAMPP, geh auf localhost und sieh dir die phpinfo()-Seite an. Da steht der ./configure Befehl drin. Dann lädst du dir den PHP-Source runter, machst ein configure mit den Optionen aus der phpinfo, make und make install und schon solltest du die neue PHP-Version haben.

Kannst aber auch mal kurz den Configure-Befehl posten, ich hab XAMPP für Linux nicht im Einsatz, daher kann ich nicht selber schauen. Aber ich könnte dir zumindest sagen ob der so funktioniert.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby greenbanana » 24. September 2008 21:46

Vielen Dank für deine Antwort. Ich habe nun mit der Conifg aus phpinof() verwendet um die Version php 5.3 zu installieren:

Code: Select all
    ./configure --prefix=/opt/lampp --with-apxs2=/opt/lampp/bin/apxs --with-config-file-path=/opt/lampp/etc --with-mysql=/opt/lampp --enable-inline-optimization --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-wddx --enable-yp --with-ftp --with-gdbm=/opt/lampp --with-jpeg-dir=/opt/lampp --with-png-dir=/opt/lampp --with-freetype-dir=/opt/lampp --without-xpm --with-zlib=yes --with-zlib-dir=/opt/lampp --with-openssl=/opt/lampp --with-expat-dir=/opt/lampp --enable-xslt=/opt/lampp --with-xsl=/opt/lampp --with-dom=/opt/lampp --with-ldap=/opt/lampp --with-ncurses=/opt/lampp --with-gd --with-imap-dir=/opt/lampp --with-imap-ssl --with-imap=/opt/lampp --with-gettext=/opt/lampp --with-mssql=/opt/lampp --with-sybase=/opt/lampp --with-interbase=shared,/opt/interbase --with-mysql-sock=/opt/lampp/var/mysql/mysql.sock --with-oci8=shared,instantclient,/opt/lampp/lib/instantclient --with-mcrypt=/opt/lampp --with-mhash=/opt/lampp --enable-sockets --enable-mbstring=all --with-curl=/opt/lampp --enable-mbregex --enable-zend-multibyte --enable-exif --with-bz2=/opt/lampp --with-sqlite=shared,/opt/lampp --with-libxml-dir=/opt/lampp --enable-soap --enable-pcntl --with-mysqli=/opt/lampp/bin/mysql_config --with-mime-magic --with-pgsql=shared,/opt/lampp/postgresql --with-iconv --enable-dio --with-pdo-mysql=/opt/lampp --with-pdo-pgsql=/opt/lampp/postgresql --with-pdo-sqlite --with-ming=shared,/opt/lampp


Damit erhalte ich aber leider die Fehlermeldung:
Code: Select all
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /opt/lampp/bin/apxs follows:
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
configure: error: Aborting


Gruss
greenbanana
 
Posts: 5
Joined: 08. September 2008 15:04

Postby Wiedmann » 24. September 2008 21:52

Das XAMPP Devel Package hast du installiert?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby greenbanana » 24. September 2008 22:19

Das DEV-Paket hatte ich tatsächlich noch nicht installiert. :oops: Aber, obwohl das ./configure nun durchläuft, kann ich das "make" nicht ausführen. Ich erhalte dann:
Code: Select all
tschuege@Kiddog:~/Desktop/TMP/php-5.3.0alpha2$ make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.


Noch eine Idee was da zu tun ist?

Hier noch der ganze Konsole-Auszug:
Code: Select all
tschuege@Kiddog:~/Desktop/TMP$ tar -zxf php-5.3.0alpha2.tar.gz
tschuege@Kiddog:~/Desktop/TMP$ cd php-5.3.0alpha2/
tschuege@Kiddog:~/Desktop/TMP/php-5.3.0alpha2$ ./configure --prefix=/opt/lampp --with-apxs2=/opt/lampp/bin/apxs --with-config-file-path=/opt/lampp/etc --with-mysql=/opt/lampp --enable-inline-optimization --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-wddx --enable-yp --with-ftp --with-gdbm=/opt/lampp --with-jpeg-dir=/opt/lampp --with-png-dir=/opt/lampp --with-freetype-dir=/opt/lampp --without-xpm --with-zlib=yes --with-zlib-dir=/opt/lampp --with-openssl=/opt/lampp --with-expat-dir=/opt/lampp --enable-xslt=/opt/lampp --with-xsl=/opt/lampp --with-dom=/opt/lampp --with-ldap=/opt/lampp --with-ncurses=/opt/lampp --with-gd --with-imap-dir=/opt/lampp --with-imap-ssl --with-imap=/opt/lampp --with-gettext=/opt/lampp --with-mssql=/opt/lampp --with-sybase=/opt/lampp --with-interbase=shared,/opt/interbase --with-mysql-sock=/opt/lampp/var/mysql/mysql.sock --with-oci8=shared,instantclient,/opt/lampp/lib/instantclient --with-mcrypt=/opt/lampp --with-mhash=/opt/lampp --enable-sockets --enable-mbstring=all --with-curl=/opt/lampp --enable-mbregex --enable-zend-multibyte --enable-exif --with-bz2=/opt/lampp --with-sqlite=shared,/opt/lampp --with-libxml-dir=/opt/lampp --enable-soap --enable-pcntl --with-mysqli=/opt/lampp/bin/mysql_config --with-mime-magic --with-pgsql=shared,/opt/lampp/postgresql --with-iconv --enable-dio --with-pdo-mysql=/opt/lampp --with-pdo-pgsql=/opt/lampp/postgresql --with-pdo-sqlite --with-ming=shared,/opt/lampp
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for re2c... no
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... yes
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking whether Roxen module is build using ZTS... no
checking for Roxen/Pike support...
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for termios.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for assert.h... (cached) yes
checking for mach-o/dyld.h... no
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of size_t... 4
checking size of long long... 8
checking size of long long int... 8
checking size of long... 4
checking size of int... 4
checking size of intmax_t... 8
checking size of ssize_t... 4
checking size of ptrdiff_t... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for IPv6 support... yes
checking for vprintf... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lchown... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for nanosleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /opt/lampp/etc
checking where to scan for configuration files...
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... yes
checking whether to enable magic quotes by default... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /opt/lampp
checking for xml2-config path... /opt/lampp/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /opt/lampp
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZ2_bzerror in -lbz2... no
configure: error: bz2 module requires libbz2 >= 1.0.0
tschuege@Kiddog:~/Desktop/TMP/php-5.3.0alpha2$ make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
tschuege@Kiddog:~/Desktop/TMP/php-5.3.0alpha2$
greenbanana
 
Posts: 5
Joined: 08. September 2008 15:04

Postby Wiedmann » 24. September 2008 22:44

Code: Select all
configure: error: bz2 module requires libbz2 >= 1.0.0

An dieser Stelle wurde das "./configure" wegen Fehler abgebrochen. Ergo: kein "make" möglich.


Anscheinend ist diese Lib ich LAMPP auch nicht die Neueste. Ergo: Diese Lib aktualisieren, oder die dazugehörige PHP-Extension weglassen.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby glitzi85 » 24. September 2008 22:54

Wie Wiedmann schon gesagt hat, entweder das hier:

Code: Select all
--with-bz2=/opt/lampp


aus dem configure weglassen oder einfach den Pfad dahinter weblassen. Dann aber vorher noch zur Sicherheit ein

Code: Select all
sudo apt-get install libbz2-1.0


ausführen. Wenn du dann den Pfad weglässt, wird die bz2-Library vom System genommen (bei hardy ist das die Version 1.0.4).

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby greenbanana » 25. September 2008 21:45

Danke erstmals für Eure Hilfe. Ich weiss das sehr zu schätzen. Doch leider bekomme ich schon den nächsten Fehler:

Code: Select all
configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information.


Und zwar habe ich es versucht mit "--with-bz2", und ohne.

Folgedes steht in der config.log:
[code]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

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

int main() {

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

int main() {
return __MINGW32__;
; return 0; }
configure:2208: checking for egrep
configure:2223: checking for a sed that does not truncate output
configure:2373: checking host system type
configure:2394: checking target system type
configure:2517: checking for gcc
configure:2630: checking whether the C compiler (gcc ) works
configure:2646: gcc -o conftest conftest.c 1>&5
configure:2672: checking whether the C compiler (gcc ) is a cross-compiler
configure:2677: checking whether we are using GNU C
configure:2686: gcc -E conftest.c
configure:2705: checking whether gcc accepts -g
configure:2737: checking how to run the C preprocessor
configure:2758: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2819: checking for icc
configure:2842: checking whether gcc and cc understand -c and -o together
configure:2857: gcc -c conftest.c -o conftest.o 1>&5
configure:2858: gcc -c conftest.c -o conftest.o 1>&5
configure:2863: cc -c conftest.c 1>&5
configure:2865: cc -c conftest.c -o conftest.o 1>&5
configure:2866: cc -c conftest.c -o conftest.o 1>&5
configure:2893: checking how to run the C preprocessor
configure:2973: checking for AIX
configure:2997: checking whether ln -s works
configure:3022: checking for system library directory
configure:3048: checking whether to enable runpaths
configure:3072: checking if compiler supports -R
configure:3087: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option '-R'
/usr/bin/ld: /usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 3080 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3105: checking if compiler supports -Wl,-rpath,
configure:3120: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1>&5
configure:3151: checking for gawk
configure:3151: checking for nawk
configure:3192: checking if nawk is broken
configure:3211: checking for bison
configure:3211: checking for byacc
configure:3251: checking for bison version
configure:3289: checking for re2c
configure:3356: checking whether to enable computed goto gcc extension with re2c
configure:3668: checking whether to force non-PIC code in shared modules
configure:3698: checking whether /dev/urandom exists
configure:3777: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
/tmp/cccoXfsA.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:3772: undefined reference to `pthread_mutexattr_init'
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:3773: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3759 "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:3797: checking for pthreads_cflags
configure:3837: gcc -o conftest -g -O2 -fvisibility=hidden -kthread conftest.c 1>&5
gcc: unrecognized option '-kthread'
/tmp/ccyzLomK.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:3832: undefined reference to `pthread_mutexattr_init'
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:3833: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3819 "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:3837: gcc -o conftest -g -O2 -fvisibility=hidden -pthread conftest.c 1>&5
configure:3867: checking for pthreads_lib
configure:4041: checking for AOLserver support
configure:4298: checking for Apache 1.x module support via DSO through APXS
configure:4621: checking for Apache 1.x module support
configure:5454: checking whether to enable Apache charset compatibility option
configure:5627: checking for Apache 2.0 filter-module support via DSO through APXS
configure:6475: checking for Apache 2.0 handler-module support via DSO through APXS
configure:7324: checking for Apache 1.x (hooks) module support via DSO through APXS
configure:7647: checking for Apache 1.x (hooks) module support
configure:8480: checking whether to enable Apache charset compatibility option
configure:8654: checking for Caudium support
configure:9005: checking for CLI build
configure:9055: checking for Continuity support
configure:9332: checking for embedded SAPI library support
configure:9549: checking for Zeus ISAPI support
configure:9798: checking for Milter support
configure:10082: checking for NSAPI support
configure:10434: checking for PHTTPD support
configure:10680: checking for Pi3Web support
configure:11047: checking whether Roxen module is build using ZTS
configure:11071: checking for Roxen/Pike support
configure:11349: checking for thttpd
configure:11610: checking for TUX
configure:11856: checking for webjames
configure:12390: checking for chosen SAPI module
configure:12447: checking for sendmail
configure:12486: checking whether system uses EBCDIC
configure:12505: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure: failed program was:
#line 12497 "configure"
#include "confdefs.h"

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

configure:12533: checking whether byte ordering is bigendian
configure:12559: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure: failed program was:
#line 12543 "configure"
#include "confdefs.h"

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

if (*cp == 0) {
return(0);
} else {
return(1);
}
}

configure:12585: checking whether writing to stdout works
configure:12614: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:12689: checking for socket
configure:12717: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:12946: checking for socketpair
configure:12974: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:13203: checking for htonl
configure:13231: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:13460: checking for gethostname
configure:13488: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:13717: checking for gethostbyaddr
configure:13745: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:13974: checking for yp_get_default_domain
configure:14002: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
/tmp/cckLw7xA.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:13996: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13979 "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:14020: checking for __yp_get_default_domain
configure:14048: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
/tmp/ccc8aMJN.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:14042: undefined reference to `__yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14025 "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:14086: checking for yp_get_default_domain in -lnsl
configure:14105: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lnsl 1>&5
configure:14180: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lnsl 1>&5
configure:14232: checking for dlopen
configure:14260: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lnsl 1>&5
/tmp/ccAzdDN9.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:14254: undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14237 "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:14278: checking for __dlopen
configure:14306: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lnsl 1>&5
/tmp/cc49smfk.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:14300: undefined reference to `__dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14283 "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:14344: checking for dlopen in -ldl
configure:14363: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -ldl -lnsl 1>&5
configure:14438: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lnsl -ldl 1>&5
configure:14490: checking for sin in -lm
configure:14509: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lm -ldl -lnsl 1>&5
configure:14502: warning: conflicting types for built-in function 'sin'
configure:14543: checking for res_search
configure:14571: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lm -ldl -lnsl 1>&5
/tmp/ccipUYyJ.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:14565: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14548 "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:14589: checking for __res_search
configure:14617: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lm -ldl -lnsl 1>&5
/tmp/ccYXKBsW.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:14611: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14594 "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:14655: checking for res_search in -lresolv
configure:14674: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:14749: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lm -ldl -lnsl -lresolv 1>&5
configure:15079: checking for inet_aton
configure:15107: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:15475: checking for dn_skipname
configure:15503: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccOkOGoF.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:15497: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15480 "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:15521: checking for __dn_skipname
configure:15549: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:15869: checking for ANSI C header files
configure:15882: gcc -E conftest.c >/dev/null 2>conftest.out
configure:15949: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:15944: warning: incompatible implicit declaration of built-in function 'exit'
configure:15977: checking for dirent.h that defines DIR
configure:15990: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16015: checking for opendir in -ldir
configure:16034: gcc -o conftest -g -O2 -fvisibility=hidden 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 16023 "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:16156: checking for inttypes.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for stdint.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for dirent.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for ApplicationServices/ApplicationServices.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:53: error: ApplicationServices/ApplicationServices.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:16156: checking for sys/param.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/types.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/time.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for netinet/in.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for alloca.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for arpa/inet.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for arpa/nameser.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for assert.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for crypt.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for fcntl.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for grp.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for ieeefp.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:20: error: ieeefp.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:16156: checking for langinfo.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for limits.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for locale.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for monetary.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for netdb.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for pwd.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for resolv.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for signal.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for stdarg.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for stdlib.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for string.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for syslog.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sysexits.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/ioctl.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/file.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/mman.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/mount.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/poll.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/resource.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/select.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/socket.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/stat.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/statfs.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/statvfs.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/vfs.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/sysexits.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:26: error: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:16156: checking for sys/varargs.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:25: error: sys/varargs.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:16156: checking for sys/wait.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/loadavg.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:25: error: sys/loadavg.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <sys/loadavg.h>
configure:16156: checking for termios.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for unistd.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for unix.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16162:18: error: unix.h: No such file or directory
configure: failed program was:
#line 16161 "configure"
#include "confdefs.h"
#include <unix.h>
configure:16156: checking for utime.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/utsname.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for sys/ipc.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for dlfcn.h
configure:16166: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16156: checking for assert.h
configure:16201: checking for mach-o/dyld.h
configure:16211: gcc -E conftest.c >/dev/null 2>conftest.out
configure:16207:25: error: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 16206 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:16242: checking for fopencookie
configure:16270: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:16302: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16353: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:16346: warning: incompatible implicit declaration of built-in function 'exit'
configure:16417: checking for broken getcwd
configure:16432: checking for broken libc stdio
configure:16493: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:16477: warning: incompatible implicit declaration of built-in function 'exit'
configure: failed program was:
#line 16465 "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:16521: checking whether struct tm is in sys/time.h or time.h
configure:16534: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16555: checking for tm_zone in struct tm
configure:16568: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16627: checking for missing declarations of reentrant functions
configure:16636: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16661: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16686: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16711: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16736: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16757: checking for fclose declaration
configure:16766: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16792: checking for tm_gmtoff in struct tm
configure:16805: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16828: checking for struct flock
configure:16843: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16870: checking for socklen_t
configure:16887: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:16913: checking size of size_t
configure:16932: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:16952: checking size of long long
configure:16971: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:16991: checking size of long long int
configure:17010: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17030: checking size of long
configure:17049: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17069: checking size of int
configure:17088: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17110: checking size of intmax_t
configure:17151: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17190: checking size of ssize_t
configure:17231: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17270: checking size of ptrdiff_t
configure:17311: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17350: checking for st_blksize in struct stat
configure:17363: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17385: checking for st_blocks in struct stat
configure:17398: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17425: checking for st_rdev in struct stat
configure:17438: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17460: checking for size_t
configure:17493: checking for uid_t in sys/types.h
configure:17529: checking for struct sockaddr_storage
configure:17542: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:17563: checking for field sa_len in struct sockaddr
configure:17577: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure: In function 'main':
configure:17573: error: 'struct sockaddr' has no member named 'sa_len'
configure: failed program was:
#line 17569 "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:17600: checking for IPv6 support
configure:17614: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17630: checking for vprintf
configure:17658: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17642: warning: conflicting types for built-in function 'vprintf'
configure:17816: checking for alphasort
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for asctime_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for chroot
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for ctime_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for cuserid
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for crypt
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/cceShtgS.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17838: undefined reference to `crypt'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17821 "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:17816: checking for flock
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for ftok
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for funopen
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccZZj3ym.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17838: undefined reference to `funopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17821 "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:17816: checking for gai_strerror
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for gcvt
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getloadavg
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getlogin
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getprotobyname
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getprotobynumber
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getservbyname
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getservbyport
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getrusage
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for gettimeofday
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for gmtime_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getpwnam_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getgrnam_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for getpwuid_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for grantpt
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for inet_ntoa
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for inet_ntop
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for inet_pton
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for isascii
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'isascii'
configure:17816: checking for link
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for localtime_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for lockf
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for lchown
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for lrand48
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for memcpy
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'memcpy'
configure:17816: checking for memmove
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'memmove'
configure:17816: checking for mkstemp
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for mmap
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for nl_langinfo
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for perror
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for poll
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for ptsname
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for putenv
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for realpath
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for random
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for rand_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for res_search
configure:17816: checking for scandir
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setitimer
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setlocale
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for localeconv
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setenv
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setpgid
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setsockopt
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for setvbuf
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for shutdown
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for sin
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'sin'
configure:17816: checking for snprintf
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'snprintf'
configure:17816: checking for srand48
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for srandom
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for statfs
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for statvfs
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for std_syslog
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccYVp5OI.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17838: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17821 "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:17816: checking for strcasecmp
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'strcasecmp'
configure:17816: checking for strcoll
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for strdup
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'strdup'
configure:17816: checking for strerror
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for strftime
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'strftime'
configure:17816: checking for strptime
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for strstr
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'strstr'
configure:17816: checking for strtok_r
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for symlink
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for tempnam
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/cc0evuoo.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17838: warning: the use of `tempnam' is dangerous, better use `mkstemp'
configure:17816: checking for tzset
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for unlockpt
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for unsetenv
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for usleep
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for nanosleep
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for utime
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17816: checking for vsnprintf
configure:17844: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17828: warning: conflicting types for built-in function 'vsnprintf'
configure:17870: checking for getaddrinfo
configure:17882: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:17928: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:17898: warning: incompatible implicit declaration of built-in function 'memset'
configure:17902: warning: incompatible implicit declaration of built-in function 'exit'
configure:17906: warning: incompatible implicit declaration of built-in function 'exit'
configure:17914: warning: incompatible implicit declaration of built-in function 'exit'
configure:17918: warning: incompatible implicit declaration of built-in function 'exit'
configure:17923: warning: incompatible implicit declaration of built-in function 'exit'
configure:17960: checking for strlcat
configure:17988: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccwdfZdQ.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17982: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17965 "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:17960: checking for strlcpy
configure:17988: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccOHJxMY.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:17982: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 17965 "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:17960: checking for getopt
configure:17988: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:18015: checking whether utime accepts a null argument
configure:18036: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:18030: warning: incompatible implicit declaration of built-in function 'exit'
configure:18062: checking for working alloca.h
configure:18095: checking for alloca
configure:18128: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:18295: checking for declared timezone
configure:18316: gcc -c -g -O2 -fvisibility=hidden conftest.c 1>&5
configure:18342: checking for type of reentrant time-related functions
configure:18371: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:18363: warning: assignment makes integer from pointer without a cast
configure:18364: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18353 "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:18403: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:18396: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18387 "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:18441: checking for readdir_r
configure:18469: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure:18491: checking for type of readdir_r
configure:18527: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
configure: In function 'main':
configure:18519: warning: incompatible implicit declaration of built-in function 'exit'
configure:18590: checking for in_addr_t
configure:18629: checking for crypt_r
configure:18657: gcc -o conftest -g -O2 -fvisibility=hidden conftest.c -lresolv -lm -ldl -lnsl 1>&5
/tmp/cchqjpUm.o: In function `main':
/home/tschuege/Desktop/TMP/php-5.3.0alpha2/configure:18651: undefined reference to `crypt_r'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18634 "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:18814: checking whether to include gcov symbols
configure:18977: checking whether to include debugging symbols
configure:19019: checking layout of installed files
configure:19054: checking path to configuration file
configure:19088: checking where to scan for configuration files
configure:19124: checking whether to enable safe mode by default
configure:19159: checking for safe mode exec dir
configure:19203: checking whether to enable PHP's own SIGCHLD handler
configure:19241: checking whether to enable magic quotes by default
configure:19279: checking whether to explicitly link against libgcc
configure:19359: checking whether to enable short tags by default
configure:19397: checking whether to enable dmalloc
configure:19485: checking whether to enable IPv6 support
configure:19515: checking how big to make fd sets
configure:19625: checking which regex library to use
configure:20039: checking whether to enable LIBXML support
configure:20087: checking libxml2 install dir
configure:20116: checking for xml2-config path
configure:20274: checking whether libxml build works
configure:20301: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib conftest.c

-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure:20663: checking for OpenSSL support
configure:20710: checking for Kerberos support
configure:21396: checking for DSA_get_default_method in -lssl
configure:21415: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib conftest.c -lssl -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure:21457: checking for pkg-config
configure:21662: checking for OpenSSL version
configure:21819: checking for CRYPTO_free in -lcrypto
configure:21838: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib conftest.c -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure:21995: checking for SSL_CTX_set_ssl_version in -lssl
configure:22014: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib conftest.c -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcrypto 1>&5
configure:22589: checking for PCRE library to use
configure:22923: checking for ZLIB support
configure:22970: checking if the location of ZLIB install directory is defined
configure:23413: checking for gzgets in -lz
configure:23432: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib conftest.c -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure:23572: checking whether to enable bc style precision math functions
configure:23937: checking for BZip2 support
configure:24582: checking whether to enable calendar conversion support
configure:24926: checking whether to enable ctype functions
configure:25270: checking for cURL support
configure:25317: checking if we should use cURL for url streams
configure:25362: checking for cURL 7.10.5 or greater
configure:25382: checking for SSL support in libcurl
configure:25397: checking how to run the C preprocessor
configure:25477: checking for openssl support in libcurl
configure:25499: gcc -o conftest -I/opt/lampp/include -L/opt/lampp/lib -lcurl -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib conftest.c -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure:25505: checking for openssl/crypto.h
configure:25515: gcc -E conftest.c >/dev/null 2>conftest.out
configure:25555: checking for gnutls support in libcurl
configure:25577: gcc -o conftest -I/opt/lampp/include -L/opt/lampp/lib -lcurl -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib conftest.c -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
configure: failed program was:
#line 25562 "configure"
#include "confdefs.h"

#include <curl/curl.h>
int main(int argc, char *argv[]) {
curl_version_info_data *data = curl_version_info(CURLVERSION_NOW);
if (data && data->ssl_version && *data->ssl_version) {
const char *ptr = data->ssl_version;
while(*ptr == ' ') ++ptr;
return strncasecmp(ptr, "GnuTLS", sizeof("GnuTLS")-1);
}
return 1;
}

configure:25954: checking for curl_easy_perform in -lcurl
configure:25973&#
greenbanana
 
Posts: 5
Joined: 08. September 2008 15:04

Re: PHP 5.3 für Linux

Postby NoiZy » 07. December 2008 08:25

Hi,

ich möchte gerade auch die gerade erschiene Alpha 3 von PHP 5.3 unter Linux und Xamp 1.6.8a ans laufen kriegen, das Problem ist nur, ich bin der totale Linux und Apache Anfänger! ;(

Unter Windows war das so schön einfach, PHP entpacken 10 Zeilen in die Config des Apache eintragen, das man z.B. gerne für .php5 Dateien benutzen möchte und das wars.

Es wäre also super nett wenn jemand hier die Schritte ein wenig detailierter erklären könnte.
"Dann lädst du dir den PHP-Source runter, machst ein configure mit den Optionen aus der phpinfo, make und make install und schon solltest du die neue PHP-Version haben."

PHP 5.3 ist entpackt in meinen "persönlichen Ordner/Programme" die phpinfo datei ist aufgerufen aber wenn ich jetzt diesen Kilometer command ins Terminal haue bekomme ich
"./configure: No such file or directory"


Liebe Grüße
NoiZy
NoiZy
 
Posts: 3
Joined: 07. December 2008 08:18

Re: PHP 5.3 für Linux

Postby Nobbie » 07. December 2008 13:58

NoiZy wrote:ich möchte gerade auch die gerade erschiene Alpha 3 von PHP 5.3 unter Linux und Xamp 1.6.8a ans laufen kriegen, das Problem ist nur, ich bin der totale Linux und Apache Anfänger! ;(


Das ist leider ein K.O.-Kriterium, das kriegt ein Anfänger nicht hin

Wieso brauchst Du unbedingt ein neueres PHP als bei Xampp dabei ist? Was funktioniert dort nicht, weswegen Du ein aktuelleres PHP brauchst?

Übrigens geht das auch unter Windows nicht, was Du da beschreibst, ist nur die Umstellerei unterhalb von Xampp, aber keine Neukompilierung von PHP 5.3.
Nobbie
 
Posts: 8777
Joined: 09. March 2008 13:04

Re: PHP 5.3 für Linux

Postby NoiZy » 07. December 2008 17:52

Na toll ;(
Ganz einfach, DAS neue Feature schlecht hin, Namespaces!
Ich habe ein Framework auf der Arbeit damit angefangen und wollte daran jetzt am WE weiter arbeiten, aber wollte jetzt nicht dann in VirtualBox mit Windows rumfuchteln, aber jetzt bei deiner Niederschmetternden Antwort wird mir wohl nix anderes übrig bleiben! ;(

Ja, diese Umstellerei wird mir ja genügen :)
Hauptsache et lüppt.


Liebe Grüße
NoiZy
 
Posts: 3
Joined: 07. December 2008 08:18

Re: PHP 5.3 für Linux

Postby Nobbie » 07. December 2008 21:35

NoiZy wrote:Na toll ;(
Ganz einfach, DAS neue Feature schlecht hin, Namespaces!


Ganz tolles Feature - um also einem vernünftigen Projekt- und Versionsmanagement vorzubeugen, nimmt man (Du!?) darüber hinaus gerne den maximalen Grad an Inkompatibilität in Kauf, da überhaupt nichts und niemand sicherstellt, dass diese Version von PHP auch beim Webhoster (oder Kunden) installiert ist und ohnehin das Stadium der Namespaces als "experimentell" eingestuft wird.

Eine sehr gediegene Möglichkeit sicherzustellen, dass man bei Online Portierung noch einmal richtig Probleme bekommt und den ganzen Sourcecode komplett überarbeiten darf.

Das wäre bei uns ein Kündigungsgrund.
Nobbie
 
Posts: 8777
Joined: 09. March 2008 13:04


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 2 guests