Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <01b701c34540$49ae9eb0$3d94883e@pomello> From: "Max Bowsher" To: References: Subject: Re: php-mysql-cygwin how to Date: Tue, 8 Jul 2003 12:01:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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/