From: mike at blueroot dot co dot uk Operating system: Linux 2.6 Fedora 2 PHP version: 5CVS-2005-09-21 (snap) PHP Bug Type: Compile Failure Bug description: When compiling without --without-pear install silently fails
Description: ------------ When installing 5.1.0-RC2-dev (snap) it says that PEAR was not installed and gives instructions to install. What it doesnt say is that it installed mod_php into your apache directory, but didnt install the helper applications (and probably a few other things) Reproduce code: --------------- # cd php-5.0.5 ... # make install ... # phpize -v Configuring for: PHP Api Version: 20031224 Zend Module Api No: 20041030 Zend Extension Api No: 220040412 # cd php5-200509211230 # ./configure && make && make install ...... Installing PHP SAPI module: apache [activating module `php5' in /www/conf/httpd.conf] cp libs/libphp5.so /www/libexec/libphp5.so chmod 755 /www/libexec/libphp5.so cp /www/conf/httpd.conf /www/conf/httpd.conf.bak cp /www/conf/httpd.conf.new /www/conf/httpd.conf rm /www/conf/httpd.conf.new Installing PHP CLI binary: /php5/bin/ Installing PHP CLI man page: /php5/man/man1/ Installing shared extensions: /php5/lib/php/extensions/no-debug-non-zts-20050617/ Installing PEAR environment: /php5/lib/php/ +----------------------------------------------------------------------+ | The installation process is incomplete. The following resources were | | not installed: | | | | PEAR: PHP Extension and Application Repository | | | | To install these components, | | download http://pear.php.net/install-pear.phar to php-src/pear/ | | become the superuser and execute: | | | | # make install-su | +----------------------------------------------------------------------+ make: *** [install-pear] Error 5 # /php5/bin/phpize -v Configuring for: PHP Api Version: 20031224 Zend Module Api No: 20041030 Zend Extension Api No: 220040412 Expected result: ---------------- The above shows that the php helper apps didnt get installed properly, which causes all sorts of hidden problems. It says the installation process was incomplete, but part was completed. Is this just a warning, or does it represent an error? Surely it should just show a warning. -- Edit bug report at http://bugs.php.net/?id=34583&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34583&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34583&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34583&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34583&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34583&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34583&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34583&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34583&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34583&r=support Expected behavior: http://bugs.php.net/fix.php?id=34583&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34583&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34583&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34583&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34583&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34583&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34583&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34583&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34583&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34583&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34583&r=mysqlcfg