php problem

gsaxtc

New member
Joined
Oct 29, 2010
Messages
1
When make ./build php - recive


1)
General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files...
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
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 size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... Segmentation fault (core dumped)
no
configure: error: build test failed. Please check the config.log for details.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file













configure/ap2/configure.php5:
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--disable-xml \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring


php-5.2.14/config.log:

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 -lm 1>&5
/usr/bin/ld: warning: libc.so.7, needed by /usr/lib/librt.so, may conflict with libc.so.6
configure:20017: checking for atoll
configure:20045: gcc -o conftest -g -O2 conftest.c -lrt -lm 1>&5
/usr/bin/ld: warning: libc.so.7, needed by /usr/lib/librt.so, may conflict with libc.so.6
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 -R/usr/local/lib -L/usr/local/lib conftest.c

-lrt -lm -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libc.so.7, needed by /usr/lib/librt.so, may conflict with libc.so.6
configure: failed program was:
#line 20722 "configure"
#include "confdefs.h"


char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}
 
Back
Top