|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-09 10:21 UTC] ali dot barimani at bnpparibas dot com
[2009-07-10 18:20 UTC] jani@php.net
[2009-07-18 01:00 UTC] php-bugs at lists dot php dot net
[2010-03-02 06:54 UTC] pfarrell at au1 dot ibm dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 10:00:01 2025 UTC |
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