php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48642 Missing command in make file for "Generating phar.php"
Submitted: 2009-06-22 11:37 UTC Modified: 2009-06-25 18:49 UTC
From: gareth dot randall at virgin dot net Assigned: cellog (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.3.0RC4 OS: AIX 6.1
Private report: No CVE-ID: None
 [2009-06-22 11:37 UTC] gareth dot randall at virgin dot net
Description:
------------
The "Generating phar.php" section of make fails with the error:

/bin/sh[14]: -d:  not found.

Thoughts:
"Generating phar.php" only occurs once in Makefile.
The command run begins with:
  @$(PHP_PHARCMD_EXECUTABLE) $(PHP_PHARCMD_SETTINGS)  [other bits removed]

Since PHP_PHARCMD_SETTINGS starts with "-d", it looks as if the PHP_PHARCMD_EXECUTABLE is coming out empty.

Please advise me of any checks or fixes you would like me to try.


Reproduce code:
---------------
cd php-5.3.0RC4
./configure
make


Expected result:
----------------
make process completes without error.

Actual result:
--------------
(Previous make output omitted...)

Generating phar.php
/bin/sh[14]: -d:  not found.
make: 1254-004 The error code from the last command is 127.


Stop.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-23 11:24 UTC] pajoye@php.net
Can you take a look please?
 [2009-06-23 18:46 UTC] gareth dot randall at virgin dot net
Just realised that I was trying to build it with AIX make, rather than GNU make. I've tried again with GNU make, which fails elsewhere, so I'll report the full details of that tomorrow.
 [2009-06-25 18:49 UTC] lsmith@php.net
closed until we get details. i guess since the issue will likely be 
something else, open a new bug.
 [2010-03-02 06:47 UTC] pfarrell at au1 dot ibm dot com
Using GNU make solves this problem.
(I used make-3.80-1.aix5.1.ppc.rpm)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC