From owner-freebsd-ports Tue Jan 23 1:31: 5 2001 Delivered-To: freebsd-ports@freebsd.org Received: from agraf.sk (unknown [62.168.105.150]) by hub.freebsd.org (Postfix) with SMTP id 4BF1437B400 for ; Tue, 23 Jan 2001 01:30:46 -0800 (PST) Received: (qmail 64938 invoked from network); 23 Jan 2001 09:31:37 -0000 Received: from unknown (HELO agraf.sk) (192.168.1.47) by 0 with SMTP; 23 Jan 2001 09:31:37 -0000 Message-ID: <3A6D4FB3.48512AD7@agraf.sk> Date: Tue, 23 Jan 2001 10:32:35 +0100 From: Radovan Gibala X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16 i586) X-Accept-Language: en MIME-Version: 1.0 To: Peter Pentchev Cc: Dirk Froemberg , Sergey Osokin , ports@freebsd.org Subject: Re: MySQL and BerkleyDB 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> <20010123111616.B2376@ringworld.oblivion.bg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter Pentchev wrote: > 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. There is no problem to build MySQL-3.23.32 from source code with BerkeleyDB support (build from patched port), but I like to have them all build from a port, which doesn't work for MySQL. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message