delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/06/13:37:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <gerrit AT familiehaase DOT de>
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: <loom DOT 20050901T182413-541 AT post DOT gmane DOT org> <43173B70 DOT E0010306 AT dessent DOT net> <loom DOT 20050901T195550-775 AT post DOT gmane DOT org> <43174814 DOT C0978670 AT dessent DOT net>
In-Reply-To: <43174814.C0978670@dessent.net>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019