#37177 [NoF->Bgs]: with-libxml option in ./configure ignored
| From: | philip@php.net | Date: | Sat, 03 Oct 2009 17:41:36 +0000 |
| Subject: | #37177 [NoF->Bgs]: with-libxml option in ./configure ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143216@lists.php.net to get a copy of this message | ||
ID: 37177
Updated by: philip@php.net
Reported By: mhalligan at bitpusher dot com
-Status: No Feedback
+Status: Bogus
Bug Type: Compile Failure
Operating System: SuSE Linux Enterprise 9 SP3
PHP Version: 5.1.2
New Comment:
I believe this problem is bogus, although initially I did suffer its
wrath. Today I added some documentation that may help:
http://svn.php.net/viewvc?view=revision&revision=289134
In short: If PHP cannot find bin/xml2-config in the directory specified
by --with-libxml-dir, it'll continue on and check the default
locations.
So for those suffering from this issue, keep that in mind, and ensure
xml2-config exists there. For those using packages/RPMs, ensure the
-dev
version is installed too.
See also: http://php.net/libxml.installation
Status change: NoFeedback->Bogus
Previous Comments:
------------------------------------------------------------------------
[2006-05-02 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-04-24 10:28:13] tony2001@php.net
Did you try the snapshot?
Yes, I can successfully configure and compile it even without libxml2
installed in the system.
------------------------------------------------------------------------
[2006-04-24 10:11:46] mhalligan at bitpusher dot com
Do you already have libxml2 installed? I have the normal
libxml2 isntallation on my servers that come with suse. I can
compile fine if I remove them, however, if I don't, PHP's
configure always finds /usr/sbin/xml-config first.
------------------------------------------------------------------------
[2006-04-24 10:03:44] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
What am I doing wrong?
# ./configure --disable-all --enable-xml --with-libxml-dir=/tmp/libxml
--enable-libxml | grep xml
checking libxml2 install dir... /tmp/libxml
checking for xml2-config path... /tmp/libxml/bin/xml2-config
checking whether libxml build works... yes
checking for xml2-config path... (cached) /tmp/libxml/bin/xml2-config
checking whether libxml build works... (cached) yes
------------------------------------------------------------------------
[2006-04-24 09:51:29] mhalligan at bitpusher dot com
Ignore the "../php-build.sh: line 3: --with-openssl: command not
found"
section, that was me cutting and pasting from an older session. It has
absolutely nothing to do with the fact that php's ./configure script
is
rather broken.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37177
--
Edit this bug report at http://bugs.php.net/?id=37177&edit=1