Bug #64022 [NEW]: php_suffix does not match when "php" exists in path

From: Date: Fri, 18 Jan 2013 14:38:19 +0000
Subject: Bug #64022 [NEW]: php_suffix does not match when "php" exists in path
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10238@lists.php.net to get a copy of this message
From: spero dot shiropetto at gmail dot com Operating system: RHEL 6.3 PHP version: 5.4.11 Package: PECL Bug Type: Bug Bug description:php_suffix does not match when "php" exists in path Description: ------------ Receive a warning when attempting to install a pecl package if "php" already exists in the directory path. WARNING: php_bin /opt/php-5.4.11/bin/php appears to have a suffix -5.4.11/bin/php, but config variable php_suffix does not match ./configure --prefix=/opt/php-5.4.11 ##failes ./configure --prefix=/opt/p-5.4.11 ##succeeds ./configure \ --prefix=/opt/p-5.4.11 \ --with-libdir=lib64 \ --enable-cli \ --enable-cgi \ --disable-debug \ --disable-short-tags \ --enable-shared \ --with-apxs2=/usr/sbin/apxs make clean && make && make install =================OUTPUT Installing PEAR environment: /opt/p-5.4.11/lib/php/ [PEAR] Archive_Tar - installed: 1.3.7 [PEAR] Console_Getopt - installed: 1.3.0 [PEAR] Structures_Graph- installed: 1.0.4 [PEAR] XML_Util - installed: 1.2.1 [PEAR] PEAR - installed: 1.9.4 pecl install pecl_http ===========OUTPUT pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ..................................................................................................................................................................................done: 1,026,048 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : Expected result: ---------------- pecl should not match the first "php" it sees to determine the php_suffix. packages should install regardless of where PHP is. pecl install pecl_http ===========OUTPUT pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ..................................................................................................................................................................................done: 1,026,048 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : Actual result: -------------- ./configure \ --prefix=/opt/php-5.4.11 \ --with-libdir=lib64 \ --enable-cli \ --enable-cgi \ --disable-debug \ --disable-short-tags \ --enable-shared \ --with-apxs2=/usr/sbin/apxs make clean && make && make install =================OUTPUT Installing PEAR environment: /opt/php-5.4.11/lib/php/ [PEAR] Archive_Tar - installed: 1.3.7 [PEAR] Console_Getopt - installed: 1.3.0 [PEAR] Structures_Graph- installed: 1.0.4 [PEAR] XML_Util - installed: 1.2.1 [PEAR] PEAR - installed: 1.9.4 Wrote PEAR system config file at: /opt/php-5.4.11/etc/pear.conf You may want to add: /opt/php-5.4.11/lib/php to your php.ini include_path /home/user/Source/php/php-5.4.11/build/shtool install -c ext/phar/phar.phar /opt/php-5.4.11/bin ln -s -f /opt/php-5.4.11/bin/phar.phar /opt/php-5.4.11/bin/phar Installing PDO headers: /opt/php-5.4.11/include/php/ext/pdo/ pecl install pecl_http ===========OUTPUT downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ................................................................................................................done: 1,026,048 bytes 71 source files, building WARNING: php_bin /opt/php-5.4.11/bin/php appears to have a suffix -5.4.11/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : ^C -- Edit bug report at https://bugs.php.net/bug.php?id=64022&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64022&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64022&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64022&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64022&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64022&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64022&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64022&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64022&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64022&r=support Expected behavior: https://bugs.php.net/fix.php?id=64022&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64022&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64022&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64022&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64022&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64022&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64022&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64022&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64022&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64022&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64022&r=mysqlcfg

« previous php.pecl.dev (#10238) next »