Bug #74686 [NEW]: ./configure does not respect --prefix for libxml2 (specifically xml2-config)
| From: | jonas at ogaard dot no | Date: | Thu, 01 Jun 2017 09:48:53 +0000 |
| Subject: | Bug #74686 [NEW]: ./configure does not respect --prefix for libxml2 (specifically xml2-config) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-209336@lists.php.net to get a copy of this message | ||
From: jonas at ogaard dot no
Operating system: Red Hat 4.4.7-17
PHP version: 7.1.5
Package: Compile Failure
Bug Type: Bug
Bug description:./configure does not respect --prefix for libxml2 (specifically xml2-config)
Description:
------------
If libxml2 lies in an unconventional prefix-path $PREFIX, running
./configure --prefix=$PREFIX does not make the build script search
$PREFIX/usr/local/bin or $PREFIX/usr/bin for xml2-config, but instead it
defaults to /usr/local/bin and /usr/bin . Luckily
--with-libxml-dir=$PREFIX resolves this, but this can't possibly be
intended functionality
Test script:
---------------
./configure --prefix=$PREFIX
Expected result:
----------------
Configuration halts due to missing xml2-config file
--
Edit bug report at https://bugs.php.net/bug.php?id=74686&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74686&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74686&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74686&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74686&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74686&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74686&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74686&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74686&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74686&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74686&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74686&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74686&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74686&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74686&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74686&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74686&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74686&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74686&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74686&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74686&r=mysqlcfg