[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Build Subversion with Berkeley DB support.

From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Mon, 16 Nov 2009 14:52:57 +1100

Hi Blair,

I was originally using MacPorts and found that I could not successfully run the test-suite.
It had MANY errors.

By using a hand-built apr / apr-util I have managed to install Subversion and run the test-suite "Failure" free.
So, While building apr-util - I tried to role-in the berkeley db support too.

Gavin.

On 16/11/2009, at 14:48 , Blair Zajac wrote:

> Gavin Baumanis wrote:
>> Hi Everyone,
>> I have recently managed to successfully build Subversion and get it to pass all tests on my Mac (Snow Leopard - 10.6.2).
>> But I have a question about Berkeley DB, please.
>> When I compiled apr-util I used the following comands;
>> ./buildconf
>> ./configure --with-apr=/path/to/apr/source/ --with-berkeley-db=/path/to/berkeley/Installation(not source code)/
>> make
>> sudo make install
>> sudo make check - however reports the following;
>> Loaded odbc driver OK.
>> [Mon Nov 16 13:49:35 2009] [dbd_odbc] SQLConnect returned SQL_ERROR (-1) at dbd/apr_dbd_odbc.c:1076 [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded IM002 Failed to open odbc[]
>> As a result of this when I configure Subversion it reports that it has created a makefile without Berkeley support.
>> If anyone can point e in the right direction, I'd be most appreciative!
>
> Not directly answering your question, but the easy way is to use MacPorts to build the entire stack:
>
> http://www.macports.org/
>
> Unless there's a reason you want to build it all yourself, MacPorts is an easy way to go.
>
> Blair
>
> --
> Blair Zajac, Ph.D.
> CTO, OrcaWare Technologies
> <blair_at_orcaware.com>
> Subversion training, consulting and support
> http://www.orcaware.com/svn/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418328

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 04:53:48 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.