From owner-freebsd-ports Tue Jan 23 1:19: 6 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 3188237B400 for ; Tue, 23 Jan 2001 01:18:35 -0800 (PST) Received: (qmail 2803 invoked by uid 1000); 23 Jan 2001 09:16:16 -0000 Date: Tue, 23 Jan 2001 11:16:16 +0200 From: Peter Pentchev To: Radovan Gibala Cc: Dirk Froemberg , Sergey Osokin , ports@freebsd.org Subject: Re: MySQL and BerkleyDB Message-ID: <20010123111616.B2376@ringworld.oblivion.bg> Mail-Followup-To: Radovan Gibala , Dirk Froemberg , Sergey Osokin , ports@freebsd.org References: <3A6C158C.7F8794B1@agraf.sk> <20010122185314.D5657@ringworld.oblivion.bg> <20010122200118.A11979@ringworld.oblivion.bg> <20010123005525.A63822@physik.TU-Berlin.DE> <3A6D4A8D.93725C6F@agraf.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A6D4A8D.93725C6F@agraf.sk>; from gigi@agraf.sk on Tue, Jan 23, 2001 at 10:10:38AM +0100 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 23, 2001 at 10:10:38AM +0100, Radovan Gibala wrote: > Dirk Froemberg wrote: > > > Hi! > > > > On Mon, Jan 22, 2001 at 08:01:18PM +0200, Peter Pentchev wrote: > > > On Mon, Jan 22, 2001 at 06:53:15PM +0200, Peter Pentchev wrote: > > > > On Mon, Jan 22, 2001 at 12:12:12PM +0100, Radovan Gibala wrote: > > > > > Is there any possibility to get a port for MySQL with BerkleyDB support > > > > > ? > > > > > I realy need the transaction support and I'd like to build MySQL from a > > > > > port. > > > > > > > > I'm currently working on a patch to the MySQL port to allow specifying > > > > charsets (the --with-charset and --with-extra-charsets configure script > > > > options). I'll throw in Berkeley DB there for good measure. Expect > > > > patches tomorrow, and hopefully, if they do not screw up things very > > > > badly, Dirk may include them sometime soon :) > > > > > > Hmm it seems I spoke too soon :( The MySQL info documentation says > > > (in the Table Types >> BDB >> BDB install node): > > > > > > "In order to build MySQL Version 3.23.x (BDB support first appeared in > > > Version 3.23.15) with support for `BDB' tables, you will need Berkeley > > > DB Version 3.2.3g or newer [...]" > > > > > > ..which poses quite a problem, because the databases/db3 port is still > > > at version 3.1.17. > > > > > > I've cc'd Sergey Osokin on this, since he is > > > the databases/db3 port maintainer. Is there any chance the port could > > > be upgraded to at least 3.2.3g anytime soon? > > > > The latest version is 3.2.3h available from > > http://www.mysql.com/downloads/mysql-3.23.html -> > > http://www.mysql.com/Downloads/db/db-3.2.3h.tar.gz > > > > I did an upgrade of the port (s. attachment below). Please have > > a look at it and tell me if I may commit it. > > > > Regards Dirk > > Well, the patch to db3 seems to be fine, but how do I get MySQL to build with > BerkeleyDB from a port ? I've edited the Makefile, > I've copied the source code of db3 to MySQL source code tree, but there were > only Error codes when I tried to make it. I think the correct way would be to add --with-berkeley-db=.. to the MySQL configure script args. I'll look at it later today, as soon as I've downloaded and built MySQL-3.23.32. G'luck, Peter -- I've heard that this sentence is a rumor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message