Bug #13644: configure script broken for recent libxml2 versions (libxml2 used in dom-xml)
| From: | pyxl at jerrell dot com | Date: | Thu, 11 Oct 2001 21:59:21 +0000 |
| Subject: | Bug #13644: configure script broken for recent libxml2 versions (libxml2 used in dom-xml) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67805@lists.php.net to get a copy of this message | ||
From: pyxl@jerrell.com
Operating system: Linux RedHat 7.0
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: configure script broken for recent libxml2 versions (libxml2 used in dom-xml)
Updated from a fairly older version of libxml2 to version libxml2 2.4.5
(next to most recent) via rpm. Installed
libxml2 and libxml2-devel.
Went to recompile PHP, and the configure script died with:
"checking for DOM in default path... not found"
"configure: error: Please reinstall the libxml >= 2.2.7 distribution"
Please note that the error emitted has a small problem - it should say
"Please reinstall the libxml2", not
"Please reinstall the libxml". But that's a detail.
Determined that the more recent versions of libxml2 keep their header files
in /usr/include/libxml2/libxml
instead of in /usr/include/libxml, and only
"$PHP_DOM/include/libxml/tree.h" is tested instead of testing
"$PHP_DOM/include/libxml2/libxml/tree.h".
I'd email you a fixed configure file...but I don't know who to mail it to,
and the fix is so small that it'd take
anyone less than 3 minutes to do. So, anyways.
Fyi, I fixed this on my own system (a workaround) by doing "ln -s
/usr/include/libxml2/libxml /usr/include/libxml".
--
Edit bug report at: http://bugs.php.net/?id=13644&edit=1