#37177 [Fbk->Opn]: with-libxml option in ./configure ignored
| From: | mhalligan at bitpusher dot com | Date: | Mon, 24 Apr 2006 10:11:48 +0000 |
| Subject: | #37177 [Fbk->Opn]: with-libxml option in ./configure ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96156@lists.php.net to get a copy of this message | ||
ID: 37177
User updated by: mhalligan at bitpusher dot com
Reported By: mhalligan at bitpusher dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: SuSE Linux Enterprise 9 SP3
PHP Version: 5.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2006-04-24 09:48:25] mhalligan at bitpusher dot com
No, I am not executing two commands. Like I said "that was a typo". I
made a typographical error.
The actual script that I am running is :
./configure \
--with-openssl \
--with-apxs=/bitpusher/services/apache/sbin/apxs \
--with-pear=/bitpusher/services/apache \
--enable-mbstring \
--with-pdo-mysql=/bitpusher/services/mysql \
--with-zlib \
--with-gd \
--with-curl \
--with-libxml-dir=/bitpusher
------------------------------------------------------------------------
[2006-04-24 09:36:18] tony2001@php.net
No, it's not a typo on the posting.
This:
../php-build.sh: line 3: --with-openssl: command not found
happens because of the reason I told before.
------------------------------------------------------------------------
[2006-04-24 09:33:20] mhalligan at bitpusher dot com
That was a typo in my posting. However, the real problem lies
in the fact that ./configure looks for libxml2-config first in
$PATH, then in the variable set with --with-libxml-dir .. This
is incorrect behavior.
------------------------------------------------------------------------
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