I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message
below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from
sunfreeware. Please see below for details:
./configure --with-mysql --with-apxs=/usr/apache/bin/apxs --enable-libxml --with-libxml-dir=/usr/include/libxml2/libxml
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/include/libxml2/libxml
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
# pkginfo -l SMClxml2
PKGINST: SMClxml2
NAME: libxml2
CATEGORY: application
ARCH: sparc
VERSION: 2.6.16
BASEDIR: /usr/local
VENDOR: Daniel Veillard
PSTAMP: Steve Christensen
INSTDATE: Jun 12 2006 14:12
EMAIL:
steve@smc.vnet.net
STATUS: completely installed
FILES: 539 installed pathnames
10 shared pathnames
29 directories
38 executables
45020 blocks used (approx)
# find / -name libxml2
/usr/include/libxml2
/opt/local/include/libxml2
/opt/local/doc/libxml2
Please help.