|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-10-06 14:52 UTC] venkata dot ballari at gmail dot com
Description:
------------
The "Generating phar.php" section of make fails with the error:
/bin/sh[14]: -d: not found.
Reproduce code:
---------------
cd php-5.3.0
./configure --prefix=/ballari/oa_apps --with-apxs2=/ballari/oa_apps/apache2/bin/apxs --with-config-file-path=/ballari/oa_apps/apache2/conf --with-gd --disable-static --enable-shared --enable-libxml --with-zlib --with-zlib-dir=/opt/freeware/lib --with-jpeg-dir=/opt/freeware/lib --with-mysql=/ballari/picc/db/mysql-standard-5.0.27-aix5.2-powerpc
make
Expected result:
----------------
make process completes without error.
Actual result:
--------------
-I/usr/include -g -c main/internal_functions_cli.c -o main/internal_functions_cli.lo
echo '\
\
Generating phar.php
/bin/sh[14]: -d: not found.
make: 1254-004 The error code from the last command is 127.
Stop.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 18:00:01 2025 UTC |
I downloaded the latest release that was mentioned at the bottom of them message and I still get the same error that was mentioned as this thread was opened. /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c: In function 'cli_seek_file_begin': /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c:621: warning: comparison is always true due to limited range of data type /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c: In function 'main': /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c:1402: warning: visibility attribute not supported in this configuration; ignored /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c: At top level: /home/gilliamb/php5.3-201009220630/sapi/cli/php_cli.c:1402: warning: visibility attribute not supported in this configuration; ignored /bin/sh /home/gilliamb/php5.3-201009220630/libtool --silent --preserve- dup-deps --mode=compile gcc -Isapi/cli/ -I/home/gilliamb/php5.3- 201009220630/sapi/cli/ -DPHP_ATOM_INC -I/home/gilliamb/php5.3- 201009220630/include -I/home/gilliamb/php5.3-201009220630/main - I/home/gilliamb/php5.3-201009220630 -I/home/gilliamb/php5.3- 201009220630/ext/date/lib -I/home/gilliamb/php5.3-201009220630/ext/ereg/regex - I/opt/freeware/include/libxml2 -I/usr/local/nssg/curl/include - I/usr/local/nssg/openldap/include -I/home/gilliamb/php5.3- 201009220630/ext/mbstring/oniguruma -I/home/gilliamb/php5.3- 201009220630/ext/mbstring/libmbfl -I/home/gilliamb/php5.3- 201009220630/ext/mbstring/libmbfl/mbfl -I/home/gilliamb/php5.3-201009220630/TSRM -I/home/gilliamb/php5.3-201009220630/Zend -I/usr/include -g -O2 - fvisibility=hidden -c /home/gilliamb/php5.3- 201009220630/sapi/cli/php_cli_readline.c -o sapi/cli/php_cli_readline.lo /bin/sh /home/gilliamb/php5.3-201009220630/libtool --silent --preserve- dup-deps --mode=compile gcc -Imain/ -I/home/gilliamb/php5.3-201009220630/main/ -DPHP_ATOM_INC -I/home/gilliamb/php5.3-201009220630/include - I/home/gilliamb/php5.3-201009220630/main -I/home/gilliamb/php5.3-201009220630 - I/home/gilliamb/php5.3-201009220630/ext/date/lib -I/home/gilliamb/php5.3- 201009220630/ext/ereg/regex -I/opt/freeware/include/libxml2 - I/usr/local/nssg/curl/include -I/usr/local/nssg/openldap/include - I/home/gilliamb/php5.3-201009220630/ext/mbstring/oniguruma - I/home/gilliamb/php5.3-201009220630/ext/mbstring/libmbfl - I/home/gilliamb/php5.3-201009220630/ext/mbstring/libmbfl/mbfl - I/home/gilliamb/php5.3-201009220630/TSRM -I/home/gilliamb/php5.3- 201009220630/Zend -I/usr/include -g -O2 -fvisibility=hidden -c main/internal_functions_cli.c -o main/internal_functions_cli.lo echo '\ \ Generating phar.php /bin/sh[14]: /home/gilliamb/php5.3-201009220630/sapi/cli/php: not found. make: 1254-004 The error code from the last command is 127. Stop.