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: <431DD39C.9090400@familiehaase.de> Date: Tue, 06 Sep 2005 19:36:28 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: compile mysql sources on cygwin References: <43173B70 DOT E0010306 AT dessent DOT net> <43174814 DOT C0978670 AT dessent DOT net> In-Reply-To: <43174814.C0978670@dessent.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Brian Dessent wrote: > Andrea wrote: > > >>>There's not enough information in your message to help you. How did you >>>configure? Are you doing a vpath build (outside of the source tree)? >>>Mysql 5 does compile fine under Cygwin, but you may require a few small >>>patches. Search the archives for details. But if you're planning to >>>use the server (instead of just the client utils and libs) then you will >>>be somewhat disappointed. >> >>I'm configured with --with-embedded-server under the source tree! >>I've need the libmysqld.a library, for my application. > > > I've never tried building the embedded server. Try a vpath build, and > try re-bootstrapping the autotools. Also, search for Gerrit's patches > in the archives. If none of these work then you'll have to try to find > out what the problem is by looking into the build system. Put this patch and the script in a directory with the 4.1.13a tarball: http://anfaenger.de/cygwin/mysql/mysql-4.1.13a-1.patch.zip http://anfaenger.de/cygwin/mysql/mysql-4.1.13a-1.sh cd to the same directory, unzip the patch: $ unzip mysql-4.1.13a-1.patch.zip and call the script several times: $ ./mysql-4.1.13a-1.sh prep $ ./mysql-4.1.13a-1.sh lnconf $ ./mysql-4.1.13a-1.sh conf $ ./mysql-4.1.13a-1.sh build $ ./mysql-4.1.13a-1.sh install $ ./mysql-4.1.13a-1.sh strip $ ./mysql-4.1.13a-1.sh pkg $ ./mysql-4.1.13a-1.sh spkg After this, the library should be in mysql-4.1.13a/.inst/usr/lib and in the devel tarball created in the last step. Gerrit -- 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/