Did you install the libxml2-devel package (see http://xmlsoft.org/#Downloads)?
That package has the libraries that php needs for --with-dom (namely tree.h)
Fatih wrote:
I am getting this error while confuguring PHP4.0.5
./configure --with-mysql=/usr/local/ --enable-inline-optimization --enable-sysvshm --with-curl=/usr/local/lib --enable-ftp --with-openssl=/usr/local/OpenSSL/ --enable-sockets --enable-track-vars --with-apache=../apache_1.3.19 --with-dom=/usr/local/lib/
checking whether to enable DBA interface... no
checking whether to enable the bundled dbase library... no
checking for DOM support... yes
checking for DOM in default path... not found
configure: error: Please reinstall the libxml >= 2.2.7 distribution
pkg_info -L libxml2-2.3.8
/usr/local/lib/libxml2.a
/usr/local/lib/libxml2.so
/usr/local/lib/libxml2.so.5
Any Idea? (I am running FreeBSD4.3)
Thanks in advance for any help