From:             alexfung3 at yahoo dot com dot hk
Operating system: Solaris 9 x86
PHP version:      5.0.3
PHP Bug Type:     Compile Failure
Bug description:  Fail on xml

Description:
------------
I try to run configure but get the error.
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking whether libxml build works... no
configure: error: build test failed.  Please check the config.log for
details.

I have already install bison, flex, zlib, libxml2, libiconv and apache2. 


Pleae help to solve my problem, I have stick on the problem for days. 
Thanks very much.


Reproduce code:
---------------
Here is part of the config.log
configure:17978: checking whether libxml build works
configure:18005: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS 
-R/usr/ucblib -L/usr/ucblib
-R/opt/sfw/gcc-3/lib/gcc-lib/i386-pc-solaris2.9/3.3.2
-L/opt/sfw/gcc-3/lib/gcc-lib/i386-pc-solaris2.9/3.3.2 -R/usr/local/lib
-L/usr/local/lib conftest.c 
          
         -lresolv -lm -ldl -lnsl -lsocket  -lgcc -lxml2 -lz -lm -lsocket
-lnsl 1>&5
configure: failed program was:
#line 17994 "configure"
#include "confdefs.h"

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

Expected result:
----------------
Complete successful.

Actual result:
--------------
build test failed.

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

Reply via email to