From: ali dot barimani at bnpparibas dot com Operating system: AIX 6.1 PHP version: 5.3.0 PHP Bug Type: *Compile Issues Bug description: Compile does not create .so library and with CLI build crash
Description: ------------ I try to configure and compile PHP 5.3 on AIX 6.1. When I active the CLI mode (and I need it), the confgure run correctly but the build failed (see Reproduce code please). And with CLI the build crash (see bellow). /bin/sh /bnp/khome/abarim30/src/php-5.3.0/libtool --preserve-dup-deps --mode=compile gcc -Imain/ -I/bnp/khome/abarim30/src/php-5.3.0/main/ -DPHP_ATOM_INC -I/bnp/khome/abarim30/src/php-5.3.0/include -I/bnp/khome/abarim30/src/php-5.3.0/main -I/bnp/khome/abarim30/src/php-5.3.0 -I/bnp/khome/abarim30/src/php-5.3.0/ext/date/lib -I/bnp/khome/abarim30/src/php-5.3.0/ext/ereg/regex -I/usr/local/include/libxml2 -I/opt/freeware/include -I/opt/freeware/include/freetype2 -I/usr/local/pkg/gd.2.0.33/include -I/apps/env30/sybase/current/OCS-15_0/include -I/opt/freeware/include/libxml2 -I/bnp/khome/abarim30/src/php-5.3.0/TSRM -I/bnp/khome/abarim30/src/php-5.3.0/Zend -fPIC -I/usr/local/include -I/usr/include -g -fvisibility=hidden -O0 -Wall -c main/internal_functions_cli.c -o main/internal_functions_cli.lo gcc -Imain/ -I/bnp/khome/abarim30/src/php-5.3.0/main/ -DPHP_ATOM_INC -I/bnp/khome/abarim30/src/php-5.3.0/include -I/bnp/khome/abarim30/src/php-5.3.0/main -I/bnp/khome/abarim30/src/php-5.3.0 -I/bnp/khome/abarim30/src/php-5.3.0/ext/date/lib -I/bnp/khome/abarim30/src/php-5.3.0/ext/ereg/regex -I/usr/local/include/libxml2 -I/opt/freeware/include -I/opt/freeware/include/freetype2 -I/usr/local/pkg/gd.2.0.33/include -I/apps/env30/sybase/current/OCS-15_0/include -I/opt/freeware/include/libxml2 -I/bnp/khome/abarim30/src/php-5.3.0/TSRM -I/bnp/khome/abarim30/src/php-5.3.0/Zend -fPIC -I/usr/local/include -I/usr/include -g -fvisibility=hidden -O0 -Wall -c main/internal_functions_cli.c -o main/internal_functions_cli.o echo '\ \ Generating phar.php /bin/sh[14]: -d: not found make: The error code from the last command is 127. Reproduce code: --------------- When disable-cli => But the .so is not created ! Build complete. Don't forget to run 'make test'. srkondorv abarim30 /bnp/khome/abarim30/src/php-5.3.0/.libs > ls -la total 95104 drwxrwxrwx 2 abarim30 kondor30 256 Jul 9 11:02 . drwxr-xr-x 17 abarim30 kondor30 4096 Jul 9 11:02 .. -rw-rw-rw- 1 abarim30 kondor30 48682884 Jul 9 11:02 libphp5.a lrwxrwxrwx 1 abarim30 kondor30 13 Jul 9 11:02 libphp5.la -> ../libphp5.la -rw-rw-rw- 1 abarim30 kondor30 2051 Jul 9 11:02 libphp5.lai Expected result: ---------------- ./configure --without-mysql \ --without-sqlite \ --without-pdo-sqlite \ --with-sybase-ct=/apps/env30/sybase/current/OCS-15_0 \ --with-apxs=/apps/local/apache/bin/apxs \ --with-xmlrpc \ --enable-debug=yes \ --enable-sysvmsg \ --enable-sockets \ --enable-soap \ --enable-bcmath \ --with-gd=/usr/local/pkg/gd.2.0.33 \ --with-libxml-dir=/opt/freeware \ --with-freetype-dir=/opt/freeware \ --with-xsl=/opt/freeware \ --with-zlib-dir=/opt/freeware \ --with-xpm-dir=/opt/freeware \ --with-jpeg-dir=/opt/freeware \ --with-png-dir=/opt/freeware \ --enable-inline-optimization -- Edit bug report at http://bugs.php.net/?id=48865&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48865&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48865&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48865&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48865&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48865&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48865&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48865&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48865&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48865&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48865&r=support Expected behavior: http://bugs.php.net/fix.php?id=48865&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48865&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48865&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48865&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48865&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48865&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48865&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48865&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48865&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48865&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48865&r=mysqlcfg