www.delorie.com/archives/browse.cgi | search |
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 |
Date: | Sun, 28 Jul 2002 11:45:23 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <16847227619.20020728114523@familiehaase.de> |
To: | letters AT hotpop DOT com (Jari Aalto+list.cygwin) |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: mysql 3.23.51 compilation problems? |
In-Reply-To: | <1y9ow98u.fsf@blue.sea.net> |
References: | <1y9ow98u DOT fsf AT blue DOT sea DOT net> |
MIME-Version: | 1.0 |
Hallo Jari, Am Sonntag, 28. Juli 2002 um 10:24 schriebst du: > I fixed couple of sys.h include errors under cygwin > and compilation went to final stage. But now I need more help. > Does the following error say anything to you? Should I include > some "-l" library to the compilation phase? > ./strings/libmystrings.a -lz -lcrypt -lm > g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -o mysqld sql_lex.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o They recommenmd to use gcc for compile and link of .cc files. My script (works with GCC 2.95.3-x, not with GCC 3 because of a similar error like yours and works also for 3.23.51): #!/usr/bin/sh set -e set -x rm -rf mysql-4.0.2-alpha tar zxvf ./mysql-4.0.2-alpha.tar.gz cd mysql-4.0.2-alpha CFLAGS="-O2" \ CC=gcc-2 \ CXX=gcc-2 \ CXXFLAGS="-O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" \ ./configure \ --prefix=/usr \ --with-mysqld-user=mysql \ --with-mysqld-ldflags=-all-static \ --with-innodb --with-berkeley-db \ --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/sql-bench ; /usr/bin/safe_mysqld & # do the tests (requires perl-module DBD::mysql) # cd sql-bench # ./run-all-tests But the server doesn't run. When running 'make test' for DBD::mysql all fails because the server crashes immediatly when you try to connect it. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |