Date: Wed, 24 Mar 2004 10:16:38 +0800 From: Ganbold <ganbold@micom.mng.net> To: Alex Dupre <ale@FreeBSD.org> Cc: freebsd-threads@freebsd.org Subject: Re: MySQL 4.0.18 server problem on FreeBSD 5.2-Current Message-ID: <6.0.3.0.2.20040324095303.029d9488@202.179.0.80> In-Reply-To: <40603EA0.1090608@FreeBSD.org> References: <6.0.3.0.2.20040323201836.02b09cc8@202.179.0.80> <40603EA0.1090608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.3.0.2.20040324095303.029d9488>