From: Pete French Date: April 12 2001 2:41pm Subject: Patch to help compilations under Cygwin List-Archive: http://lists.mysql.com/internals/697 Message-Id: I was advised that this is the correct address to send patches to that may be of use in the relased source to mySQL. One of my biggest problems with mySQL is the fact that it does not compile "out of the box" on Cygwin. This is mainly due to the fact that configure identifies the system as "windows" and then assumed a windows API and includes appropiate header files. Note that I am only interested in compiling the client libraries for use with Cygwin. I havent tested the server. The included patch (uuencoded and gzipped) fixes a line in configure that prevents it running properly, plus also contains some small modifications to a few source files to prevent the windows API headers being included when compiling under Cygwin. The patches should be clean with respect to the rest of the system, though could probably be tidied up further. With the patches inplace you can simply ./configure --without-server make make install The executales do not install properly (as they end in .exe I suspect) but all the libraries compile and install fine. We have been using this system here for nearly a year to run our website and it operates flawlessly. Note that there may also be a problem with Cygwin header files - I remember having to alter one of them a long time ago, butwithout re-installing Cygwin cannot verify that this pproblem still exists. I was going to include the patch, butyour mailer rejects is. You can obtain it at: http://toybox.twisted.org.uk/~pete/mysql-cygwin.patch.gz cheers, -pete french.