#24207 [NEW]: phpize wrong exit code
| From: | cox at idecnet dot com | Date: | Mon, 16 Jun 2003 17:24:57 +0000 |
| Subject: | #24207 [NEW]: phpize wrong exit code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-42058@lists.php.net to get a copy of this message | ||
From: cox at idecnet dot com
Operating system: RH 7.3
PHP version: 4.3.2
PHP Bug Type: Unknown/Other Function
Bug description: phpize wrong exit code
Description:
------------
phpize does not check for:
aclocal
autoconf
autoheader
libtoolize -f -c
and neither register the exit code of this tools. This is useful for
running phpize from automated tools like the "pear build" command.
Reproduce code:
---------------
[cox@lserver xdebug-1.2.0]$ phpize ; echo "exit code: $?"
Expected result:
----------------
[cox@lserver xdebug-1.2.0]$ phpize ; echo "exit code: $?"
/usr/bin/phpize: aclocal: command not found
Execution of 'aclocal' failed
exit code: 1
Actual result:
--------------
[cox@lserver xdebug-1.2.0]$ phpize ; echo "exit code: $?"
/usr/bin/phpize: aclocal: command not found
/usr/bin/phpize: autoconf: command not found
/usr/bin/phpize: autoheader: command not found
/usr/bin/phpize: libtoolize: command not found
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20021010
exit code: 0
--
Edit bug report at http://bugs.php.net/?id=24207&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24207&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24207&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24207&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24207&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24207&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24207&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24207&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24207&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24207&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24207&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24207&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24207&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24207&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24207&r=gnused