From owner-freebsd-stable Thu Apr 6 15:47:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id 411C437C13E; Thu, 6 Apr 2000 15:47:46 -0700 (PDT) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.3/8.9.3) id AAA66069; Fri, 7 Apr 2000 00:47:32 +0200 (CEST) (envelope-from ibex) Date: Fri, 7 Apr 2000 00:47:32 +0200 From: Dirk Froemberg To: Thimble Smith Cc: Kris Kennaway , freebsd-stable@FreeBSD.org Subject: Re: please help - thread-safe mysql client link problem Message-ID: <20000407004732.C65692@physik.TU-Berlin.DE> References: <20000331080352.G76293@threads.polyesthetic.msg> <20000331205728.B15870@threads.polyesthetic.msg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000331205728.B15870@threads.polyesthetic.msg>; from tim@mysql.com on Fri, Mar 31, 2000 at 08:57:28PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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