[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: Blair Zajac <blair_at_orcaware.com>
Date: Sun, 15 Nov 2009 19:48:55 -0800

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=2418327
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 04:49:43 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.