#36404 [Opn->Fbk]: configure script cannot complete libxml build

From: Date: Thu, 16 Feb 2006 20:18:51 +0000
Subject: #36404 [Opn->Fbk]: configure script cannot complete libxml build
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93358@lists.php.net to get a copy of this message
ID: 36404 Updated by: tony2001@php.net Reported By: davecenker at cfl dot rr dot com -Status: Open +Status: Feedback Bug Type: *Compile Issues Operating System: Solaris 8 PHP Version: 5.1.2 New Comment: Please upload whole config.log somewhere and provide the link here. Previous Comments: ------------------------------------------------------------------------ [2006-02-15 22:20:48] davecenker at cfl dot rr dot com Description: ------------ I am having difficulties getting past the libxml build check when configuring PHP. I have installed libxml version 2.6.23 and am attempting to run the configure script for PHP version 5.1.2. I have seen other bug reports similar to this, but none of the recommended fixes seem to address my problem. Below is the complete configure commandline: ./configure --with-apxs=/home/dcenker/AMP/apache/bin/apxs --with-mysqli=/home/dcenker/AMP/mysql/bin/mysql_config --enable-mbstring --enable-soap --with-libxml-dir=/home/dcenker/libxml where /home/dcenker/libxml/bin contains the xml2-config executable. The last few lines of the config.log file are as follows: Any help in resolving this installation issue would be greatly appreciated. If you need any additional information, please let me know. Thank you. Actual result: -------------- <<<begin config.log excerpt>>> configure:18440: checking whether to enable LIBXML support configure:18487: checking libxml2 install dir configure:18647: checking whether libxml build works configure:18674: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucbli b -L/usr/ucblib -R/apps/gcc-3.0.4/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4 -L/apps/ gcc-3.0.4/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4 -R/home/dcenker/libxml/lib -L/ho me/dcenker/libxml/lib conftest.c -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -lm -lsocket -lnsl 1> &5 configure: failed program was: #line 18663 "configure" #include "confdefs.h" char xmlInitParser(); int main() { xmlInitParser(); return 0; } <<<end config.log excerpt>>> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36404&edit=1

« previous php.bugs (#93358) next »