Bug #49788 [Com]: Missing command in make file for "Generating phar.php"

From: Date: Sat, 02 Sep 2017 11:17:06 +0000
Subject: Bug #49788 [Com]: Missing command in make file for "Generating phar.php"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210916@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=49788&edit=1

 ID:                 49788
 Comment by:         amael dot heiligtag at capgemini dot com
 Reported by:        venkata dot ballari at gmail dot com
 Summary:            Missing command in make file for "Generating
                     phar.php"
 Status:             No 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:

Hello, same problem on AIX7.1 with php-7.1.9 and ccs make. sapi/cli/php is not generated and thus
phar generation fails.

Switching to gmake solves the problem.


Previous Comments:
------------------------------------------------------------------------
[2013-02-18 00:34:00] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

------------------------------------------------------------------------
[2010-12-10 08:56:10] steve at falchion dot com

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.

------------------------------------------------------------------------
[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] felipe@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=49788


--
Edit this bug report at https://bugs.php.net/bug.php?id=49788&edit=1


Thread (9 messages)

« previous php.bugs (#210916) next »