From:             davecenker at cfl dot rr dot com
Operating system: Solaris 8
PHP version:      5.1.2
PHP Bug Type:     *Compile Issues
Bug description:  configure script cannot complete libxml build

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 bug report at http://bugs.php.net/?id=36404&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36404&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36404&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36404&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36404&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36404&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36404&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36404&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36404&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36404&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36404&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36404&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36404&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36404&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36404&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36404&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36404&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36404&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36404&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36404&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36404&r=mysqlcfg

Reply via email to