Bug #66929 [NEW]: Incorrect install path with --prefix=...
| From: | mot+php at tom dot be | Date: | Tue, 18 Mar 2014 21:19:46 +0000 |
| Subject: | Bug #66929 [NEW]: Incorrect install path with --prefix=... | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184828@lists.php.net to get a copy of this message | ||
From: mot+php at tom dot be
Operating system: Debian 7
PHP version: 5.3.28
Package: *Compile Issues
Bug Type: Bug
Bug description:Incorrect install path with --prefix=...
Description:
------------
When compiling PHP 5.3.28 with --prefix specified, PHP is installed a
different folders. The version of the resulting binaries do check out to
be correct.
This was on a clean install Debian 7, so no prior PHP installs have been
done.
Test script:
---------------
tar -xzf php-5.3.28.tar.gz
cd php-5.3.28
./configure --prefix=/jail/usr/local/php-5.3.28
--with-freetype-dir=/usr/lib --with-mysql --with-mysqli --with-mssql
--enable-exif --enable-soap --with-mcrypt --with-mhash --with-curl
--enable-mbstring --with-gettext --with-zlib --enable-ftp --with-openssl
--with-xsl --with-pgsql --enable-calendar --enable-bcmath --with-bz2
--with-imap --with-imap-ssl --with-pdo-mysql --with-jpeg-dir
--with-png-dir --with-gd --enable-zip --with-xmlrpc --enable-sockets
--enable-intl --with-gmp
make
make install
Expected result:
----------------
# ls /jail/usr/local/
php-5.3.28
# /jail/usr/local/php-5.3.28/bin/php --version
PHP 5.3.28 (cli) (built: Mar 18 2014 08:09:33)
Actual result:
--------------
# ls /jail/usr/local/
php-5.3.27 php-5.3.4.26-with-mysql
# /jail/usr/local/php-5.3.27/bin/php --version
PHP 5.3.28 (cli) (built: Mar 18 2014 08:09:33)
# ls /jail/usr/local/php-5.3.4.26-with-mysql/
etc
# ls /jail/usr/local/php-5.3.4.26-with-mysql/etc
pear.conf
--
Edit bug report at https://bugs.php.net/bug.php?id=66929&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66929&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66929&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66929&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66929&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66929&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66929&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66929&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66929&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66929&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66929&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66929&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66929&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66929&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66929&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66929&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66929&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66929&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66929&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66929&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66929&r=mysqlcfg