Bug #1984 MySQL does not compile under Cygwin 5.1
Submitted: 29 Nov 2003 10:32 Modified: 1 Dec 2003 12:38
Reporter: Terrence Brannon Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.0.16 OS:Microsoft Windows (Win32 / Cygwin)
Assigned to: CPU Architecture:Any

[29 Nov 2003 10:32] Terrence Brannon
Description:
Please insure that Cygwin compiles under the latest version of Cygwin. I am using Cygwin 5.1 and Postgresql compiles just fine. MySQL does not.

How to repeat:
gzip -dc mysql-4.0.16.tar.gz | tar xvf -
cd mysql-4.0.16
./configure && make
[30 Nov 2003 3:28] Alexander Keremidarski
Windows is natively supported platform. Why do you need to run MySQL under Cygwin?
[1 Dec 2003 8:10] Sergei Golubchik
As Alexander has noted MySQL runs natively on Windows. Thus the interest in supporting Cygwin is low.

That is if somebody would port MySQL to Cygwin we could probably accept the patches and apply them to the codebase. But all our developers are too busy now to work on Cygwin port.
[1 Dec 2003 8:22] Terrence Brannon
My personal reasons are:

1 - I desire a Unix-like environment under Windows, so even though I have a Windows machine, all of my Perl development, including
editors and utilities are Cygwin-based.

2 - I develop database-driven software using Perl/DBI under Cygwin. I test my software on Postgres and SQLite under Cygwin with
no problem. Because your database does not compile there, I cannot build DBD::mysql under Cygwin and hence cannot connect to MySQL
using Cygwin. I am forced to copy my code to a remote Unix machine to do my MySQL tests, something which is not necessary with the
other open-source databases.

3 - You state that MySQL only works for Win32 native. Why then does this page exist at the MySQL website:

    http://www.mysql.com/downloads/cygwin.html

And why does it point to version 1.3.9 of Cygwin? There have been efforts at MySQL AB to compile MySQL under Cygwin. The only problem
is you are several major versions behind with the version of cygwin you are using.

4 - People who are serious about databases care about portability. Cygwin is growing in popularity. Postgresql already compiles there.
SQLite compiles there. Your database does not and therefore cannot be considered for Cygwin-based projects. If you wish to lose the
race of competition and have fewer platforms to which you can port, then be prepared to lose the respect and business that comes with it.
[1 Dec 2003 12:38] Alexander Keremidarski
Terrence,

> 3 - You state that MySQL only works for Win32 native.

I don't agree we state the above. What I and Sergei have said so far is that there Windows is supported platform meaning that we do provide well tested Windows binaries and Support services for them. 

List of platforms MySQL supports is quite big. Adding new platforms to this list is not trivial task so it can be done only when there is enough demand for it.