Bug #15050 comp_err fails to compile on Cygwin
Submitted: 18 Nov 2005 12:58 Modified: 18 Nov 2005 15:28
Reporter: Lenz Grimmer Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.0.16 OS:Windows (Windows/Cygwin)
Assigned to: CPU Architecture:Any

[18 Nov 2005 12:58] Lenz Grimmer
Description:
Compiling 5.0.16 on Windows/Cygwin 1.5.12 fails in the "extra" directory with the following error:

gcc -O3 -DDBUG_OFF       comp_err.c   -o comp_err
comp_err.c:26:23: my_global.h: No such file or directory
comp_err.c:27:21: m_ctype.h: No such file or directory
comp_err.c:28:20: my_sys.h: No such file or directory
comp_err.c:29:22: m_string.h: No such file or directory
comp_err.c:30:23: my_getopt.h: No such file or directory
comp_err.c:32:20: my_dir.h: No such file or directory
[...]

It seems like the include paths are not set up correctly when configuring on Cygwin.

How to repeat:
Extract the mysql-5.0.16.tar.gz source tarball on a Cygwin system and run "./configure ; make", observe the failure.

Suggested fix:
Investigate why configure fails to properly set the include paths in the Makefiles
[18 Nov 2005 15:28] Lenz Grimmer
This bug was marked as as a duplicate of BUG#13640