This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: php-mysql-cygwin how to

Elfyn McBratney wrote:
> On Tue, 8 Jul 2003, andrew brian clegg wrote:
>> On Mon, 7 Jul 2003, Bill McCormick wrote:
>> [mysql client]
>>> I compiled it myself from the linux src I got from It seems
>>> to work but maybe there's a more established way.
>> Wanna try this myself sometime. Did you have to tweak it much or did it
>> compile out of the box?
>> Andrew.
> From memory (haven't compiled MySQL on Cygwin for a while) it compiles
> fine, the only problem was, and perhaps still is, with the server.  The
> libraries work fine, too. I promised myself that I'd try and get it
> working...But so little time and so many things to do. :-)
> All it needs is a straight
>   ./configure --without-server --prefix=/usr
>   make; make install

I was playing with this recently (mysql-4.0.13). I found the following

1) Underscore mismatches when using the x86 optimized assembler
implementation of string functions. Workaround: --disable-assembler

2) Missing $(EXEEXT) causes make to invoke an implicit rule, generating a
huge amount of nonsensical errors. Patch:
--- mysql-4.0.13/sql/ 2003-06-17 12:24:57.000000000 +0100
+++ mysql-4.0.13/sql/ 2003-06-17 12:25:10.000000000 +0100
@@ -114,8 +114,8 @@

 lex_hash.h: lex.h sql_yacc.h
-  $(MAKE) gen_lex_hash
-  ./gen_lex_hash > $@
+  $(MAKE) gen_lex_hash$(EXEEXT)
+  ./gen_lex_hash$(EXEEXT) > $@

 # Hack to ensure that lex_hash.h is built early
 sql_lex.o: lex_hash.h

3) The long standing server problem. It seems like the complex C++ is
confusing gcc?


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]