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

Re: [PATCH] bdb library names

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-11-03 18:38:56 CET

Gustavo Niemeyer wrote:

>Good morning (almost afternoon)!
>
>I'm currently using the 'all-static' patch to provide a static compiled
>packages which can easily be used in old machines. When using this patch
>a small issue is raised by the way the berkeley db is currently
>detected.
>
>Usually bdb has either a link named "libdb4.so" or simply "libdb.so",
>which is correctly detected by subversion. OTOH, these links are
>pointing to a library named "libdb-4.0.{la,so,a}". When compiling the
>dynamic version there's no problem, since it's happy enough to link
>with "libdb{,4}.so", but when compiling statically, it looks for a
>library named "libdb4.{la,a}", which doesn't exist.
>
>The small patch bellow includes "db-4.0" as the first option for
>berkeley db detection, fixing this problem. This should not affect
>normal compilation (famous last words :-).
>
>(Perhaps it could be even the only option detected, but I haven't
> done an extensive research to check if every distribution is using
> the same naming conventions)
>
>
>* configure.in: Include db-4.0 as first option for detecting bdb.
>
What about db-4.1, then? We just went through a lot of pain to make the
4.0/4.1 detection automagic and symmetric -- your patch breaks that just
a bit.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 3 18:39:46 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.