delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/27/09:26:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <027901c23571$443c6320$3400a8c0@sknet01>
From: "Terry Flannery" <terry DOT flannery AT btinternet DOT com>
To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
References: <00b201c2352f$71e9d4c0$3400a8c0 AT sknet01> <190247813356 DOT 20020727104230 AT familiehaase DOT de> <137257096795 DOT 20020727131713 AT familiehaase DOT de>
Subject: Re: MySQL server under cygwin
Date: Sat, 27 Jul 2002 14:26:47 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

I have been unable to build a stable mysqld under cygwin... although it
runs, it seems to crash after a few minutes (repeatably), and crashes almost
immediatly on an SMP machine.
I have since built it using msvc6 and can, for the time being at least, make
the changes I need, but I would still prefer to work under cygwin. If
someone fixes either mysql or cygwin, whichever is broken, I would love to
hear about it.

Also, is it possible to create a cygwin import library for libmySQL.dll? If
so, could someone please point me to some instructions?

Thanks in advance,
Terry

----- Original Message -----
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
To: <cygwin AT cygwin DOT com>
Cc: "Terry Flannery" <terry DOT flannery AT btinternet DOT com>
Sent: Saturday, July 27, 2002 12:17 PM
Subject: Re: MySQL server under cygwin


> 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/

- Raw text -


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