Edit report at http://bugs.php.net/bug.php?id=49788&edit=1
ID: 49788
Comment by: steve at falchion 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
Private report: N
New Comment:
Sorry for the previous "Me too!". After some searching, it appears that
sapi/cli/php has not been built when phar ties to run it, so a
workaround is to re-configure with --disable-phar (assuming you don't
need phar), but it would be nicer if the build order was adjusted so
that it worked... *shrug*
Hmm.. make test just failed because CLI sapi is not there after "make".
perhaps I missed a config switch to build it? Tried with --enable-cli
(although this is the advertised default) and it compiles php_cli.lo,
php_cli_readline.lo and then main/internal_functions_cli.lo and then
stops saying complete, but the php executable was never built.
There we go. Switched to gmake, and it created the php executable.
re-ran configure without --disable-phar and re-ran "gmake clean;gmake",
this time, no issues.
Previous Comments:
------------------------------------------------------------------------
[2010-12-10 07:54:08] steve at falchion dot com
I have the same issue, after "Generating phar.php" I get
/bin/sh[14]: /home/steve/anisoft/php/php-5.3.3/sapi/cli/pdp: not found
Ayone figgure this one out?
------------------------------------------------------------------------
[2010-09-22 09:31:29] michael dot gilliam at aramco dot com
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=49788
--
Edit this bug report at http://bugs.php.net/bug.php?id=49788&edit=1