#20807 [Fbk->Ana]: 'make install' failed on cygwin
| From: | msopacua@php.net | Date: | Sun, 08 Dec 2002 20:02:24 +0000 |
| Subject: | #20807 [Fbk->Ana]: 'make install' failed on cygwin | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27074@lists.php.net to get a copy of this message | ||
ID: 20807
Updated by: msopacua@php.net
Reported By: moshe@i-com-it.com
-Status: Feedback
+Status: Analyzed
Bug Type: Compile Failure
Operating System: winXP
PHP Version: 4CVS-2002-12-04 (dev)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-12-08 11:08:23] 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 10:55:41] moshe@i-com-it.com
did it. still no results.
here is the buildconf and configure log:
http://212.199.221.100/moshe/log.txt
------------------------------------------------------------------------
[2002-12-04 09:50:53] 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-04 07:18:48] moshe@i-com-it.com
make along is ok..
------------------------------------------------------------------------
[2002-12-04 07:17:46] moshe@i-com-it.com
here:
----------------
Installing PHP SAPI module
chmod: changing permissions of `/usr/local/bin/#INST@3220#': No such
file or directory
make: *** [install-sapi] Error
-----------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20807&edit=1