#37177 [NEW]: with-libxml option in ./configure ignored
| From: | mhalligan at bitpusher dot com | Date: | Mon, 24 Apr 2006 04:27:56 +0000 |
| Subject: | #37177 [NEW]: with-libxml option in ./configure ignored | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96141@lists.php.net to get a copy of this message | ||
From: mhalligan at bitpusher dot com
Operating system: SuSE Linux Enterprise 9 SP3
PHP version: 5.1.2
PHP Bug Type: Compile Failure
Bug description: with-libxml option in ./configure ignored
Description:
------------
./configure --with-libxml-dir appears to not actually be utilized, and
custom installations of libxml2 fail.
Reproduce code:
---------------
./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
Expected result:
----------------
./configure should find my custom installation of libxml.
Actual result:
--------------
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.
../php-build.sh: line 3: --with-openssl: command not found
--------
I've installed libxml2 with --prefix=/bitpusher and that installation is
successful. However, the ./configure script appears to still try to use
default xml2 configuration scripts, like /usr/bin/xml2-config.
--
Edit bug report at http://bugs.php.net/?id=37177&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37177&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37177&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37177&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37177&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37177&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37177&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37177&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37177&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37177&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37177&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37177&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37177&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37177&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37177&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37177&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37177&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37177&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37177&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37177&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37177&r=mysqlcfg