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 Date: Sat, 27 Jul 2002 13:17:13 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <137257096795.20020727131713@familiehaase.de> To: cygwin AT cygwin DOT com CC: "Terry Flannery" Subject: Re: MySQL server under cygwin In-Reply-To: <190247813356.20020727104230@familiehaase.de> References: <00b201c2352f$71e9d4c0$3400a8c0 AT sknet01> <190247813356 DOT 20020727104230 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo Terry, >> Is it possible to build and run mysql under cygwin? > I have a patch and a script online: > http://koeln.convey.de/cywgin/mysql/ After trying a new build with 3.23.51 I see that there are some problems with gcc-3, so I choosed to use the latest gcc-2 now. My script now: #!/usr/bin/sh set -e set -x tar zxvf ./mysql-3.23.51.tar.gz cd mysql-3.23.51 patch -p0 < ../mysql.patch CFLAGS="-O3" \ CC=gcc-2 \ CXX=gcc-2 \ CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" \ ./configure \ --prefix=/usr \ --with-mysqld-ldflags=-all-static \ --with-mysqld-user=mysql \ --with-berkeley-db \ --with-innodb \ --localstatedir=/var/mysql/data \ 2>&1 | tee ../log.configure make 2>&1 | tee ../log.make rm -rf /usr/sql-bench make install 2>&1 | tee ../log.install rm -rf /var/mysql/data mkdir -p /var/mysql/data make init-db 2>&1 | tee ../log.init # start the server later manually # cd /usr ; /usr/bin/safe_mysqld & # do the tests (requires perl-module DBD::mysql) # cd sql-bench # ./run-all-tests Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/