Mail Archives: cygwin/2003/07/08/07:01:54
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 mysql.com. 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
problems:
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/Makefile.am.orig 2003-06-17 12:24:57.000000000 +0100
+++ mysql-4.0.13/sql/Makefile.am 2003-06-17 12:25:10.000000000 +0100
@@ -114,8 +114,8 @@
$(CXXCOMPILE) $(LM_CFLAGS) -c $<
lex_hash.h: lex.h gen_lex_hash.cc 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?
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -