Date: Fri, 7 Apr 2000 00:47:32 +0200 From: Dirk Froemberg <dirk@FreeBSD.org> To: Thimble Smith <tim@mysql.com> Cc: Kris Kennaway <kris@FreeBSD.org>, freebsd-stable@FreeBSD.org Subject: Re: please help - thread-safe mysql client link problem Message-ID: <20000407004732.C65692@physik.TU-Berlin.DE> In-Reply-To: <20000331205728.B15870@threads.polyesthetic.msg>; from tim@mysql.com on Fri, Mar 31, 2000 at 08:57:28PM -0500 References: <20000331080352.G76293@threads.polyesthetic.msg> <Pine.BSF.4.21.0003311157440.95920-100000@freefall.freebsd.org> <20000331205728.B15870@threads.polyesthetic.msg>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thimble! On Fri, Mar 31, 2000 at 08:57:28PM -0500, Thimble Smith wrote: > On Fri, Mar 31, 2000 at 11:58:51AM -0800, Kris Kennaway wrote: > >On Fri, 31 Mar 2000, Thimble Smith wrote: > >> The port doesn't have an option for building a thread-safe client, > >> either (unless it's hidden somewhere that I didn't see it). > > > >It uses the same options as the server makefile, so > >'make NATIVE_THREADS=1 all install clean' should work for the client or > >the server. > > MySQL doesn't make thread-safe client libs unless you pass the > --enable-thread-safe-client flag to configure. Here'a a patch > to mysql322-server/Makefile that will cause this to happen if > THREAD_SAFE_CLIENT is set in the environment: > > [patch] > > I'm not super-familiar with the ports structure, so I may have > botched something. Dirk, if this looks okay (or can be salvaged > into something that is okay), could you commit it? Thanks for the patch. Looks good... But it'll last a few days before I can test if there are any side-effects... Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000407004732.C65692>