X-Spam-Check-By: sourceware.org Date: Wed, 28 Mar 2007 17:40:12 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Using mysql 5.1.16 beta client libraries on cygwin Message-ID: <20070328214012.GC12956@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070328210023 DOT GB8132 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, Mar 28, 2007 at 11:26:34PM +0200, Eric Lilja wrote: >Christopher Faylor wrote: >>On Wed, Mar 28, 2007 at 10:54:05PM +0200, Eric Lilja wrote: >>>As many of you may know, the binary distribution of MySQL for Windows >>>only ships with MSVC++ libraries. They have no binary distribution for >>>Cygwin. So what do you do if you want to develop c or c++ programs >>>talking to a native Windows MySQL server using the cygwin tools? >>> >>>Well, you can compile the client libraries yourself. Here's how I did it: >>>$ tar xvzf mysql-5.1.16-beta.tar.gz >>>$ cd mysql-5.1.16-beta >>>$ ./configure --prefix=/usr/local/mysql-5.1.16-beta >>>--exec-prefix=/usr/local/mysql-5.1.16-beta --without-server >>>--without-docs --without-man >>>$ make >>>$ make install >>> >>>Keep the source directory so you can uninstall with: >>>$ make uninstall >> >>If only there was some mechanism for sending precompiled cygwin-aware >>mysql clients to a wider audience... >> >>Nah. That's a crazy dream. > >Do you mean it's a suitable candidate for an official cygwin package so >it can be easily found and installed (whereas this post is not easy to >encounter unless you do some searching or happen to check the list) or >was it just your way of saying that my post was noise? I'd love to >maintain such a package if there is interest. But I have never >maintained a package before and it seems somewhat involved, heh. I can't speak to what you consider to be involved but the cygwin-apps is open to anyone who wants to propose a package for inclusion in the distribution. And, since we have so many maintainers, it can't be too terrible. Of course, our Microsoft masters may send a strong electrical charge to our gonads (assuming we have gonads) if they are displeased by the package so it's possible that we will all automatonically reject the package as part of Microsoft's anti-Cygwin conspiracy. Or, hey. Maybe I ought to just disconnect the wires. Why didn't I think of that before? cgf -- 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/