Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 11:16:16 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Radovan Gibala <gigi@agraf.sk>
Cc:        Dirk Froemberg <dirk@freebsd.org>, Sergey Osokin <ozz@FreeBSD.org.ru>, ports@freebsd.org
Subject:   Re: MySQL and BerkleyDB
Message-ID:  <20010123111616.B2376@ringworld.oblivion.bg>
In-Reply-To: <3A6D4A8D.93725C6F@agraf.sk>; from gigi@agraf.sk on Tue, Jan 23, 2001 at 10:10:38AM %2B0100
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ozz@FreeBSD.org.ru> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010123111616.B2376>