From owner-freebsd-ports@FreeBSD.ORG Tue Mar 23 18:11:46 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9253E16A4CE; Tue, 23 Mar 2004 18:11:46 -0800 (PST) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id E242943D45; Tue, 23 Mar 2004 18:11:44 -0800 (PST) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with asmtp (Exim 4.30; FreeBSD) id 1B5xmw-0006yH-Js; Wed, 24 Mar 2004 10:06:38 +0800 Message-Id: <6.0.3.0.2.20040324095303.029d9488@202.179.0.80> X-Sender: ganbold@micom.mng.net@202.179.0.80 X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Wed, 24 Mar 2004 10:16:38 +0800 To: Alex Dupre From: Ganbold In-Reply-To: <40603EA0.1090608@FreeBSD.org> References: <6.0.3.0.2.20040323201836.02b09cc8@202.179.0.80> <40603EA0.1090608@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: MySQL 4.0.18 server problem on FreeBSD 5.2-Current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 02:11:46 -0000 Hi, Thanks for the reply. While I was waiting for the email from mailing lists, I downloaded latest snapshot mysql-4.0.19-nightly-20040323.tar.gz from Mysql.com web site and installed with following options: CFLAGS="-DHAVE_BROKEN_REALPATH -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads" CXXFLAGS="-DHAVE_BROKEN_REALPATH -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads" ./configure --prefix=/usr/local --localstatedir=/var/db/mysql --libexecdir=/usr/local/libexec --enable-thread-safe-client --enable-local-infile --enable-assembler --with-named-thread-libs="-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE -I /usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r" --disable-shared --with-embedded-server --with-innodb make make install I didn't change anything in /etc/make.conf. Now it works just fine. Tcp connections work fine too. Another thing is I installed Mysql-4.0.18 from ports in another FreeBSD-5.2-CURRENT machine without any problem. I didn't add CPUTYPE in /etc/make.conf there either and it works fine. I will try to make tcp connections there and let you know the results. regards, Ganbold At 09:41 PM 23.03.2004, you wrote: >Ganbold wrote: > >>Before mysql update was really easy, but now I have big problem. >>What should do in this case? Is there anybody solved this problem before? > >You should read the mailing lists before posting on them...btw, it seems >to be a problem with CPUTYPE not set in /etc/make.conf.....currently it is >known to work with CPUTYPE=p3 and to not work without CPUTYPE....otherwise >you can remove --with-libwrap from your Makefile and loose the tcpwrapper >support. > >-- >Alex Dupre >