#31196 [Opn->Fbk]: Fail on xml

From: Date: Mon, 20 Dec 2004 22:14:12 +0000
Subject: #31196 [Opn->Fbk]: Fail on xml
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70733@lists.php.net to get a copy of this message
ID: 31196 Updated by: chregu@php.net Reported By: alexfung3 at yahoo dot com dot hk -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris 9 x86 PHP Version: 5.0.3 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. please show your whole ./configure line Furthermore try using the option --with-libxml-dir=/path/to/where/libxml/is/installed the path is for example /usr/ or /usr/local check where xml2-config is and try this path (without bin/xml2-config) Previous Comments: ------------------------------------------------------------------------ [2004-12-20 11:08:25] alexfung3 at yahoo dot com dot hk 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 this bug report at http://bugs.php.net/?id=31196&edit=1

« previous php.bugs (#70733) next »