On Tue, 28 Jan 2003, Jesse Sheidlower wrote: > > I've been trying to install MySQL 4.0.9 on FreeBSD 4.7, and > have been getting stuck in the configure phase. I'd be > grateful for any suggestions. > > I'm running FreeBSD 4.7 on a single-processor 1.4GHz PIII, > using gcc 2.95.4, and trying to compile with > Linuxthreads. I've been using the instructions Jeremy Zawodny > posted in his blog at > http://jeremy.zawodny.com/blog/archives/000458.html . > > I modified Jeremy's command to eliminate some of the obvious > things I didn't need, and started with:
Try this, this is what I used (I didn't need things like innodb, but needed static linkings): king as jdisher# more foo CFLAGS="-O3 -pipe -mcpu=pentiumpro -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -DHAVE_BROKEN_REALPATH -I/usr/local/include/pthread/li nuxthreads" CXXFLAGS="-O3 -pipe -mcpu=pentiumpro -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -DHAVE_BROKEN_REALPATH -I/usr/local/incl ude/pthread/linuxthreads -felide-constructors -fno-rtti -fno-exceptions" ./configure --with-mit-threads=no --enable-assembler --with out-innodb --with-named-thread-libs="-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r" --enable-thread-safe-client --with-extra-charsets=none --without-debug --with-client-ldflags=-all-static --with- mysqld-ldflags=-all-static Put it all on one line, in a plaintext file, and sh <filename>. Sorry for the formatting nightmare. FYI, that successfully built 3.23.54 -AND- 4.0.9 with linuxthreads on FreeBSD 5-RELEASE. I'm still testing, however, as I'm not overly impressed with the performance increase (MySQL 3.23.54 on a single Athlon MP2200+ performs a job of ours faster than a dual Athlon MP2200+ (same hardware, SMP vs NonSMP kernel)). I dunno. -j --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php