Edit report at http://bugs.php.net/bug.php?id=49788&edit=1
ID: 49788
Comment by: michael dot gilliam at aramco dot com
Reported by: venkata dot ballari at gmail dot com
Summary: Missing command in make file for "Generating
phar.php"
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX 5.3
PHP Version: 5.3.0
Block user comment: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-05-09 23:20:11] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-10-14 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-10-08 08:16:04] venkata dot ballari at gmail dot com
I tried the snapshot available at
http://snaps.php.net/php5.3-latest.tar.gz
I'm using bash. Still getting errors.
-I/usr/include -g -c
/home/oa_apps/php5.3-200910070430/ext/fileinfo/libmagic/encoding.c -o
ext/fileinfo/libmagic/encoding.lo
1500-052: (S) Cannot write object file.
make: 1254-004 The error code from the last command is 1.
Stop.
------------------------------------------------------------------------
[2009-10-06 15:25:26] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
And what shell are you using? Only bash is supported.
------------------------------------------------------------------------
[2009-10-06 14:52:45] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=49788&edit=1