From owner-freebsd-database@FreeBSD.ORG Mon Apr 18 13:33:43 2005 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89BC716A4D2 for ; Mon, 18 Apr 2005 13:33:43 +0000 (GMT) Received: from galilee.polands.org (CPE-24-208-53-189.new.res.rr.com [24.208.53.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id A811B43D1D for ; Mon, 18 Apr 2005 13:33:42 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org ([172.16.1.35]) by galilee.polands.org (8.12.9/8.12.9) with ESMTP id j3IDXMoR003858; Mon, 18 Apr 2005 08:33:33 -0500 (CDT) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.3/8.13.1) with ESMTP id j3IDXM4t012181; Mon, 18 Apr 2005 08:33:22 -0500 (CDT) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.3/8.13.1/Submit) id j3IDXLrK012180; Mon, 18 Apr 2005 08:33:21 -0500 (CDT) (envelope-from djp) Date: Mon, 18 Apr 2005 08:33:21 -0500 From: Doug Poland To: Tony Bourke Message-ID: <20050418133321.GB12120@polands.org> References: <42635042.7060002@vegan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42635042.7060002@vegan.net> User-Agent: Mutt/1.5.9i cc: nomodlogic@gmail.com cc: freebsd-database@freebsd.org Subject: Re: Super Smack on FreeBSD X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 13:33:43 -0000 On Mon, Apr 18, 2005 at 02:14:26AM -0400, Tony Bourke wrote: > Hi Guys, > > I saw your posts on the FreeBSD database mailing list, and I think I > have your solution for Super Smack on FreeBSD. > > I had the same trouble compiling Super Smack for an article on MySQL > performance on FreeBSD and other operating systems. The problem is a > simple typo in src/client.cc. Just change __FreeBSD to __FreeBSD__ on > line 51, and Super Smack should compile cleanly. At least, it did for > FreeBSD 5.3 and 5.2.1. The FreeBSD 4 series requires a bit more tweaking > for Super Smack to compile. > Hi Tony, Your suggestion works on 5.4-STABLE too. Thanks for the tip. Someone should commit this tool to the ports tree. -- Regards, Doug