php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20807 'make install' failed on cygwin
Submitted: 2002-12-04 07:17 UTC Modified: 2002-12-09 11:25 UTC
From: moshe at i-com-it dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2002-12-04 (dev) OS: winXP
Private report: No CVE-ID: None
 [2002-12-04 07:17 UTC] moshe at i-com-it dot com
here:

----------------
Installing PHP SAPI module
chmod: changing permissions of `/usr/local/bin/#INST@3220#': No such file or directory
make: *** [install-sapi] Error
-----------------

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-04 07:18 UTC] moshe at i-com-it dot com
make along is ok..
 [2002-12-04 09:50 UTC] msopacua@php.net
This is a bug in the autotools for Cygwin, which as far as I know has been addressed. If you are using the latest buildtools, try removing configure and executing 'buildconf'. If that still doesn't work, re-open the bug report.

Basically - the tempname created is created with '.exe' extension, but returned to the shell var without it.

Not a bug in PHP -> bogus
 [2002-12-08 10:55 UTC] moshe at i-com-it dot com
did it. still no results.

here is the buildconf and configure log:

http://212.199.221.100/moshe/log.txt
 [2002-12-08 11:08 UTC] sniper@php.net
Do you have the latest buildtools? Can you add the buildconf output here too? And try doing './cvsclean' before running './buildconf'.

 [2002-12-08 14:02 UTC] msopacua@php.net
AC_PROG_CC is called after the check for cygwin. Therefore the check for Cygwin fails, as it calls 'cc'.
Setting CC environment var clears that issue.

However - shtool should be patched with 'EXE_EXT' or the various real executables, should detect cygwin. For instance, the following gets me half-way:
$ grep '\.exe' ./Makefile
SAPI_CLI_PATH = sapi/cli/php.exe
INSTALL_CLI = $(INSTALL) -m 0755 $(SAPI_CLI_PATH) $(INSTALL_ROOT)$(bindir)/php.exe
SAPI_CGI_PATH = sapi/cgi/php-cgi.exe

And fails on phpextdist.

 [2002-12-09 11:25 UTC] msopacua@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

I just committed a fix for this. It will be in the snapshots within 3/4 hours.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 09:01:28 2024 UTC