ID: 17576 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Compile Failure Operating System: win2k / cygwin PHP Version: 4.2.3 New Comment:
After additional testing and to-ing/fro-ing, it seems that the problem might well be down to cc not being available. I fixed the problem on my test machine with: ln --symbolic /usr/bin/gcc /usr/bin/cc configure then properly detects Cygwin. YMMV ;) Previous Comments: ------------------------------------------------------------------------ [2002-10-22 12:38:08] [EMAIL PROTECTED] check config.log for the real reason WHY the check fails. Further discussion about this should happen on [EMAIL PROTECTED] so stop posting your comments here. ------------------------------------------------------------------------ [2002-10-22 12:33:12] [EMAIL PROTECTED] Sniper, > Use autoconf 2.13 ...seems to contradict with... << [18 Jun 4:59am] [EMAIL PROTECTED] It a bug in autoconf 2.13. If you have autoconf 2.5x installed on your system you shoud be able to compile php >> Anyhow, using autoconf 2.13... ./cvsclean ./buildconf ./configure --without-xml --prefix=/usr creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686-pc-cygwin checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes Seems the same...? --Paul ------------------------------------------------------------------------ [2002-10-22 12:22:22] [EMAIL PROTECTED] Use autoconf 2.13 ------------------------------------------------------------------------ [2002-10-22 12:14:23] [EMAIL PROTECTED] All, I've reproduced the problem on 4.2.3 and php4-200210220900. I also did a test on 4.1.2, and it detects Cygwin just fine. Here's what I did, using php4-200210220900: ./cvsclean (this did NOT delete config.cache, so I deleted it by hand) ./buildconf ./configure --without-xml --prefix=/usr Here's the first few lines of output (I can provide the rest if it will help) --- creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686-pc-cygwin checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... --- Just FYI, autoconf -V returns "autoconf (GNU Autoconf) 2.53a". This is on a freshly-formatted Win2K Pro box. Hope this helps, --Paul ------------------------------------------------------------------------ [2002-07-30 01:00:10] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, 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". ------------------------------------------------------------------------ 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/17576 -- Edit this bug report at http://bugs.php.net/?id=17576&edit=1