Bug #68313 [NEW]: During configuration default-path is added to the flags before specific dirs

From: Date: Mon, 27 Oct 2014 22:27:51 +0000
Subject: Bug #68313 [NEW]: During configuration default-path is added to the flags before specific dirs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188329@lists.php.net to get a copy of this message
From: dvanadrichem at hotmail dot com Operating system: Linux Ubuntu 12.04 PHP version: 5.5.18 Package: *Configuration Issues Bug Type: Bug Bug description:During configuration default-path is added to the flags before specific dirs Description: ------------ On an Ubuntu 12.04 machine there is a default Curl 7.22 version. Due to some troubles, this one needs to be replaced by a newer version for PHP. Curl version 7.38 is built to a specific directory and PHP is reconfigured with the commant as in the testscript-box. In the generated Makefile the Library-flags first point to the system folders, and only later to the specified directories. It looks like this is the reason the system-version of the Curl-library is linked and not the specific-version. Manually changing the Makefile after the ./configure command fixed this problem. As the configure scripts are not recently updated this problem is probably still in the latest releases. Test script: --------------- ./configure --prefix /usr/local/php5.5.11 --enable-zip --with-openssl --enable-exif --enable-calendar --with-gd --with-mcrypt --with-mssql --with-mysql --with-mysqli --enable-soap --with-unixODBC=/usr --with-pear --with-curl=/usr/local/curl-7.38.0 --with-zlib --enable-mbstring Expected result: ---------------- EXTRA_LDFLAGS = -L/usr/local/curl-7.38.0/lib -L/usr/lib/i386-linux-gnu EXTRA_LDFLAGS_PROGRAM = -L/usr/local/curl-7.38.0/lib -L/usr/lib/i386-linux-gnu NATIVE_RPATHS = -Wl,-rpath,/usr/local/curl-7.38.0/lib -Wl,-rpath,/usr/lib/i386-linux-gnu PHP_LDFLAGS = -L/usr/local/curl-7.38.0/lib -L/usr/lib/i386-linux-gnu PHP_RPATHS = -R /usr/local/curl-7.38.0/lib -R /usr/lib/i386-linux-gnu Actual result: -------------- EXTRA_LDFLAGS = -L/usr/lib/i386-linux-gnu -L/usr/local/curl-7.38.0/lib EXTRA_LDFLAGS_PROGRAM = -L/usr/lib/i386-linux-gnu -L/usr/local/curl-7.38.0/lib NATIVE_RPATHS = -Wl,-rpath,/usr/lib/i386-linux-gnu -Wl,-rpath,/usr/local/curl-7.38.0/lib PHP_LDFLAGS = -L/usr/lib/i386-linux-gnu -L/usr/local/curl-7.38.0/lib PHP_RPATHS = -R /usr/lib/i386-linux-gnu -R /usr/local/curl-7.38.0/lib -- Edit bug report at https://bugs.php.net/bug.php?id=68313&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68313&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68313&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68313&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68313&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68313&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68313&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68313&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68313&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68313&r=support Expected behavior: https://bugs.php.net/fix.php?id=68313&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68313&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68313&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68313&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68313&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68313&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68313&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68313&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68313&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68313&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68313&r=mysqlcfg

« previous php.bugs (#188329) next »