|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-04-24 04:27 UTC] mhalligan at bitpusher dot com
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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 00:00:01 2025 UTC |
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