I have a FreeBSD server where I installed mysql 3.23 with linux threads
from a port collection, the procedure was simple enough
(WITH_LINUXTHREADS=yes make). All my attempts then to build it from
sources were unsuccessfull, however it was not important consdering
that it could be installed from ports. But now I wish to upgrade it to
4.0.3 (keeping the linuxthreads option), so can anybody advice on the
procedure of building it from scratch?
If I look at the options which were in effect for the port version they
are a bit complex, should I just try repeating them now and it'll solve
it, or the procedure should be some different? Here are the options for
Compilation info: CC='cc' CFLAGS='-O -pipe -D__USE_UNIX98 -D_REENTRANT
-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads' CXX='cc'
CXXFLAGS='-O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
-I/usr/local/include/pthread/linuxthreads -felide-constructors -fno-rtti
Configure command: ./configure '--with-comment=FreeBSD port:
--enable-thread-safe-client --enable-assembler --with-named-z-libs=no
-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib
-llthread -llgcc_r' --prefix=/usr/local/mysql-linux
Thank you for any hints on the subject.
Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)