You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gavin Baumanis <ga...@thespidernet.com> on 2009/11/16 03:45:16 UTC
Build Subversion with Berkeley DB support.
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!
Gavin.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418326
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Build Subversion with Berkeley DB support.
Posted by Gavin Baumanis <ga...@thespidernet.com>.
Hi Blair,
here is the tail of woe;
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2415659
Gavin.
On 16/11/2009, at 14:59 , Blair Zajac wrote:
> Gavin Baumanis wrote:
>> Hi Blair,
>> I was originally using MacPorts and found that I could not successfully run the test-suite.
>> It had MANY errors.
>
> What kind of errors? I don't recall getting any errors with my build.
>
> Blair
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418332
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Build Subversion with Berkeley DB support.
Posted by Blair Zajac <bl...@orcaware.com>.
Gavin Baumanis wrote:
> Hi Blair,
>
> I was originally using MacPorts and found that I could not successfully run the test-suite.
> It had MANY errors.
What kind of errors? I don't recall getting any errors with my build.
Blair
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418329
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Build Subversion with Berkeley DB support.
Posted by Gavin Baumanis <ga...@thespidernet.com>.
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
> <bl...@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@subversion.tigris.org].
Re: Build Subversion with Berkeley DB support.
Posted by Blair Zajac <bl...@orcaware.com>.
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
<bl...@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@subversion.tigris.org].