compiling php with dom and qtdom support
| From: | Mike | Date: | Thu, 05 Apr 2001 09:51:30 +0000 |
| Subject: | compiling php with dom and qtdom support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2692@lists.php.net to get a copy of this message | ||
Hi i am running redhat 7.0 with apache 1.3.19 (installed from source into /etc/httpd) and i am
trying to install php4.0.4pl1. I am enabling mysql support for mysql (mysql-3.23.24 from rpm)
I installed the following rpms before i started
libxml-1.7.3
libxml-devel-1.7.3
libxml2-devel-2.3.5
libxml2-2.3.5
i then cd'd to the php directory and did
"./configure" \
"--prefix=/etc/httpd" \
"--enable-trans-sid" \
"--with-mysql" \
"--with-magic-quotes" \
"--with-apxs" \
"--with-dom=/usr/lib" \
"--with-qtdom=/usr/lib" \
(this is config.nice)
which didnt return any (obvious) errors - the same command above piped to grep -i xml returns this
checking for libxml version... >= 2.2.7
checking for libz needed by libxml ... already zlib support
checking for XML support... yes
creating ext/domxml/Makefile
creating ext/xml/Makefile
creating ext/xml/expat/Makefile
creating ext/xml/expat/xmlparse/Makefile
creating ext/xml/expat/xmltok/Makefile
and the same with grep -i dom returns this
checking for yp_get_default_domain... no
checking for random... yes
checking for srandom... yes
checking for DOM support... yes
checking for DOM in default path... found in /usr
checking whether to include QDOM support... checking for readline support... no
creating ext/domxml/Makefile
everything seems ok (is the qdom the same as qtdom?) ?!?! (yes i am deleting config.cache)
i then do make and make install which again produces no errors. I then do a config test on the new
apache which returns the following error...
Cannot load /usr/lib/apache/libphp4.so into server: undefined symbol: xmlDocSetRootElement
i noticed from the CVS that this function was uncommented - in the last release - is there an error
in it??? i dont know any c++ so im stuck here
Please help me before i lose it totally :-)