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

Re: freebsd questions

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-10-28 15:29:45 CET

Michael Wood wrote:
> On Mon, Oct 28, 2002 at 07:34:42AM -0600, Ben Collins-Sussman wrote:
>
>>Hey FreeBSD people (Garrett in particular, since he does our port):
>>
>>So I've just installed totally clean copies of FreeBSD 4.7 on my home
>>computer, and on the new, non-broken Thinkpad... and I'm back to a
>>problem I had a long time ago.
>>
>>Basically, I'm having trouble making svn detect Berkeley DB 4.0.
>
> [snip]
>
>>/usr/libexec/elf/ld: cannot find -ldb
>>
>>Is this something fixable? How does our port work, exactly?
>
>
> The port works around the problem by manually replacing all occurrences
> of "-ldb" with "-ldb4" in the Makefile (or something similar.)

actually, the port does it to the configure script, but yeah, that's the
general idea.

> Someone mentioned a while ago that apr-util has to find DB4 and manages
> to do it on FreeBSD, so we should just use apr-util's stuff.
> Unfortunately apr-util also has checks for other DB libraries mixed in
> with that, but I immagine it shouldn't be too difficult to extract the
> necessary magic from apr-util and insert it into Subversion.

ideally, we would be able to ask apu-config where it's berkeley db is,
so we can just piggy back on the fact that they already know where it is
located, without needing to duplicate that code ourselves.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 15:30:30 2002

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

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