Bug #29028 ./Configure fails with __CYGWIN__ failure
Submitted: 11 Jun 2007 20:42 Modified: 12 Jul 2007 10:21
Reporter: Jason Rose Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.2.3 OS:Linux (SuSE 10.0)
Assigned to: CPU Architecture:Any

[11 Jun 2007 20:42] Jason Rose
Description:
I was having problems installing the PHP service with apache2 in the state the computer was left for me.

I have since uninstalled both (PHP & apache) and reinstalled the newer versions in a more traditional location. When I attemp a "./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/share/mysql/ --with-mysqli=/usr/bin/mysql_config" I get teh following error

///////  ERROR BELOW  ///////////////////////////

configure:2175: checking for Cygwin environment
configure:2191: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:2187: error: '__CYGWIN32__' undeclared (first use in this function)
configure:2187: error: (Each undeclared identifier is reported only once
configure:2187: error: for each function it appears in.)
configure: failed program was:
#line 2180 "configure"
#include "confdefs.h"
/////////////////////////////////////////////////

How to repeat:
I extracted apache2 (2.2.4) and php (5.2.3), configured and was able to start / stop apache2. Then I ran the ./configure line and it crashed...

any help is much appreciated.
[12 Jun 2007 10:21] Valeriy Kravchuk
Thank you for a problem report. Why do you think it is a bug in MySQL? As far as I understand, it was PHP's configure that gave you an error.
[12 Jul 2007 23:00] Bugs System
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".