From: Operating system: GNU/Linux (Fedora 14) PHP version: 5.3SVN-2010-12-01 (SVN) Package: *Compile Issues Bug Type: Feature/Change Request Bug description:RFE: add check for php headers in phpize
Description: ------------ phpize is used to build pecl extension. This script already does a lot of sanity check before the build. On GNU/Linux distribution, PHP headers are available in a sub-package phpize should check if header are available before running the build. See : https://bugzilla.redhat.com/657812 Note than pecl command is usefull, even without "php-devel" to register/unregister packaged extension (--nobuild option), to list regitered extensions, etc. Test script: --------------- # yum remove php-devel # or any other command, apt, ... # pecl install APC Expected result: ---------------- 49 source files, building running: phpize Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed -- Edit bug report at http://bugs.php.net/bug.php?id=53436&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53436&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53436&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53436&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53436&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53436&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53436&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53436&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53436&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53436&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53436&r=support Expected behavior: http://bugs.php.net/fix.php?id=53436&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53436&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53436&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53436&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53436&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53436&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53436&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53436&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53436&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53436&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53436&r=mysqlcfg
