Re: Configure prob with FreeBSD/Linuxthreads -- path to linuxthreads includes?

2003-02-02 Thread Eric Frazier
Hi, One other problem came up, the configure script looks for LinuxThreads in /usr/include where of course FreeBSD stores them in /usr/local/include/linuxthreads so the flag that gets set for linuxthreads doesn't, at least not in my version of mysql 4.09 Thanks, Eric (250) 655 - 9513 (PST Tim

Re: Configure prob with FreeBSD/Linuxthreads

2003-02-02 Thread Eric Frazier
Hi, I don't know if this is all old news now, but I got the exact same error that Jesse did when I ran a copy and paste from your example. When I both switched to sh from csh, and made that big paragraph into a single line, then it worked. So I got though the configure. But on the make I got an

Re: Configure prob with FreeBSD/Linuxthreads

2003-02-01 Thread Dan Nelson
In the last episode (Jan 31), Maximo Migliari said: > OK, here goes the whole thing: > > configure:2461: checking for C compiler default output > configure:2464: cc -O -pipe -march=pentiumpro -D__USE_UNIX98 > \ > -D_REENTRANT -D_THREAD_SAFE -DHAVE_BROKEN_REALPATH \ >

Re: Configure prob with FreeBSD/Linuxthreads

2003-02-01 Thread Maximo Migliari
OK, here goes the whole thing: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-mit-threads=no -

Re: Configure prob with FreeBSD/Linuxthreads

2003-02-01 Thread Maximo Migliari
These are the last two lines in config.log #define MACHINE_TYPE "i386" configure: exit 77 Maximo. At 01:37 PM 31-01-03 -0600, you wrote: In the last episode (Jan 31), Maximo Migliari said: > So, my dear friends, could we conclude that Linux is a more appropriate > platform for running MySQL > o

Re: Configure prob with FreeBSD/Linuxthreads

2003-02-01 Thread Dan Nelson
In the last episode (Jan 31), Maximo Migliari said: > So, my dear friends, could we conclude that Linux is a more appropriate > platform for running MySQL > on a multi-processed machine? > > I was desperate to try and compile MySQL 4.0.9-gamma on my FreeBSD > 4.7-stable machine, which is > dual

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-31 Thread Maximo Migliari
So, my dear friends, could we conclude that Linux is a more appropriate platform for running MySQL on a multi-processed machine? I was desperate to try and compile MySQL 4.0.9-gamma on my FreeBSD 4.7-stable machine, which is dual processed. I managed to compile fine once, but it gave errors wh

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-30 Thread Jonathan Disher
> > Because with native threads, enabling the second CPU (and thus locking > > MySQL to one thread, one process, -period-, because running another on > > another port isnt viable) makes the job take just over twice as long. > > This explains your point of view: I never tried to run MySQL on > dual-

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-30 Thread Gianluca Sordiglioni
> > gcc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.2.1 [FreeBSD] 20021119 (release) Okay. > Because with native threads, enabling the second CPU (and thus locking > MySQL to one thread, one process, -period-, because running an

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-30 Thread Jonathan Disher
> -O3 on a production server? Mmmm... not good. gcc 2.95 is sometimes buggy, I > suggest to use -O alone. > gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) > I don't see any reason to use LinuxThreads. W

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-29 Thread Gianluca Sordiglioni
> 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

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-29 Thread Dan Nelson
In the last episode (Jan 28), Jonathan Disher said: > 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

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-29 Thread Jeremy Zawodny
On Tue, Jan 28, 2003 at 04:28:53PM -0500, Jesse Sheidlower wrote: > > > > Out of curiosity, which version of gcc are you using? > > As I posted a few lines up, it's gcc 2.95.4 ;-) Oh, err. Hm. Right. I can read. Yeah. > After I sent the original message, I tried to play around with the > co

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-29 Thread Jonathan Disher
> I've since given up, installed with the exact configure line shown > in the MySQL docs, FreeBSD section, and it worked perfectly, so I'm > worrying about moving my grant tables from 3.23.49 and so forth, > instead of getting Linuxthreads to workBut I'd be happy to try > to get this fixed, esp

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-28 Thread Jonathan Disher
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 com

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-28 Thread Jesse Sheidlower
On Tue, Jan 28, 2003 at 01:17:30PM -0800, Jeremy Zawodny wrote: > On Tue, Jan 28, 2003 at 12:21:37PM -0500, 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. > >

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-28 Thread Dan Nelson
In the last episode (Jan 28), Jesse Sheidlower said: > 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 modified Jeremy's command to eliminate some of the obvious > things I didn't need, and s

Re: Configure prob with FreeBSD/Linuxthreads

2003-01-28 Thread Jeremy Zawodny
On Tue, Jan 28, 2003 at 12:21:37PM -0500, 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.9