MySQL 4.0.18 server problem on FreeBSD 5.2-Current
Ganbold
ganbold at micom.mng.net
Tue Mar 23 18:11:46 PST 2004
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
>
More information about the freebsd-ports
mailing list