I am new to PHP , I am trying to install PHP on SUSE Linux machine.
But getting following error ,
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/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
wimbvt7:~/temp/PHP/php-5.2.10 # rpm -qa |grep xml2*
libxml2-2.6.7-28.1
libxml2-devel-2.6.26-2.1.2.1
yast2-xml-2.9.8-19.1
libxml-1.8.17-366.1
libxml2-python-2.6.26-2.1.2.1
These are the libxml present on the machine.
In the config.log its saying...
configure:20669: checking for xml2-config path
configure:20827: checking whether libxml build works
configure:20854: gcc -o conftest -g -O2 conftest.c
-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libxml2.a(parser.o)(.text+0x2f16): In function xmlParseStringName':
: undefined reference tostack_chk_fail'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libxml2.a(parser.o)(.text+0x3c54): In function xmlParserHandlePEReference':
: undefined reference tostack_chk_fail'
Pls help.. Thanks in advance..