On 2005-04-03 08:55-0600, Mike Melanson wrote:
> Jani Averbach wrote:
> >> Subversion does not get along with Berkeley DB 4.3.
> >
> >
> >What do you mean? It should work with SVN 1.1.2 and later. If you have
> >upgraded your BDB environment, you should do svnadmin dump with your
> >old BDB, and create a new reporisitory & svnadmin load with the new
> >one.
>
> I installed 4.3 on a machine with no BDB to begin with. Then I tried
> to configure SVN (and I want a server). SVN configure (actually, APR
> configure) could not find the 4.3 directory. It looked for the 4.2, 4.1,
> and 4.0. When I explicitly specified the 4.3 directory, it did not find
> what it was looking for (4.2 libraries, for example).
It looks like that the linker (when compiling apr-util) can't find the
location of your BDB libs.
Use something like that, or put the location of lib in
/etc/ld.so.conf:
env LDFLAGS="-L/srv/svntest/svntest/inst/db/4.3.27/lib" \
LD_LIBRARY_PATH="/srv/svntest/svntest/inst/db/4.3.27/lib" \
"/srv/svntest/svntest/svn/svn_trunk/configure" \
"--prefix=/srv/svntest/svntest/inst/svn_trunk" \
... # rest of options
In the above case, the BDB has been installed with
--prefix "/srv/svntest/svntest/inst/db/4.3.27"
>
> And since it takes this computer about 1/2 hour to reach that point
> in the configure script, I can not effectively troubleshoot
> it.
Are you compiling with external APR and APR-UTIL, or are you using in
tree version of those? If you get ARP-UTIL to compile with BDB 4.3,
then you could use same settings for SVN, it should be faster to debug
apr-util alone, even when you are using in tree version at the end of
the day. You could also specify for apr-util that it should use 4.3
by "--with-bdm=db43":
env LDFLAGS="-L/srv/svntest/svntest/inst/db/4.3.27/lib" \
LD_LIBRARY_PATH="/srv/svntest/svntest/inst/db/4.3.27/lib" \
"/srv/svntest/svntest/apr-util/apu-0.9.x/configure" \
...
"--with-dbm=db43" \
"--with-berkeley-db=/srv/svntest/svntest/inst/db/4.3.27" \
This should speed up detection a little bit.
>
> Ah, found it (and all of its patches). Thanks. I will see if this
> works for me.
>
I am afraid that if the root of your problems was that your linker
didn't find BDB 4.3, using BDB 4.2 won't help.
BR, Jani
--
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 3 17:32:22 2005