From: crrodriguez at suse dot de Operating system: Linux PHP version: 5CVS-2007-08-14 (CVS) PHP Bug Type: *Compile Issues Bug description: Problems with php-config/phpize in current 5_2 CVS
Description: ------------ Currently and since the latest changes to the PHP build system,some PECL extensions fails to build properly, the problem seems to be related with php-config and or phpize not behaving like all previuos versions. Reproduce code: --------------- Try to compile either: 1. php-gtk 2. imagick2 Expected result: ---------------- build correctly , note that all older PHP versions works fine, this errors appeared somewhere at RC1 or so. Actual result: -------------- in the case of php-gtk checking for PHP extension directory... /usr/lib64/php5/extensions checking for PHP installed headers prefix... /usr/include/php5 checking for re2c... re2c checking for re2c version... 0.13.0 (ok) checking for gawk... gawk checking for PHP-GTK support... yes, shared ./configure: line 3968: --prefix: command not found checking for PHP executable in /bin... configure: error: Could not locate PHP executable in the case of imagick2 ecking whether to enable the imagick GraphicsMagick backend... no checking for magick-wand.h header file... found in /usr/include/wand/magick-wand.h checking if ImageMagick version is at least 6.2.4... found version 6.3.5 checking if PHP version is at least 5.1.3... configure: error: php-config not found error: Bad exit status from /var/tmp/rpm-tmp.18233 (%build) -- Edit bug report at http://bugs.php.net/?id=42292&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42292&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42292&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42292&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42292&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42292&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42292&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42292&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42292&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42292&r=support Expected behavior: http://bugs.php.net/fix.php?id=42292&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42292&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42292&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42292&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42292&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42292&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42292&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42292&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42292&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42292&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42292&r=mysqlcfg