|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-20 23:14 UTC] chregu@php.net
[2004-12-29 18:34 UTC] sniper@php.net
[2005-01-12 01:23 UTC] jjchung at so-net dot net dot tw
[2005-01-12 12:48 UTC] alexfung3 at yahoo dot com dot hk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 23:00:02 2025 UTC |
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.