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

berkeley db header files

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-09-21 18:26:28 CEST

Two small issues regarding Berkeley DB and autoconfiscation:

  1. Once upon a time, I couldn't get ./configure to see my
      libdb.so. This was because it was installed in /usr/local/lib,
      which for some reason the GNU toolchain doesn't search by
      default. The solution was to `export
      LDFLAGS=-L/usr/local/lib`.

  2. I still can't build libsvn_fs because the compiler can't find
      `db.h'. On my system, this is installed in
      /usr/local/include/db3/.

(Incidentally, I installed db-3.14 right out of /usr/ports)

Just as the first issue was fixed by setting an environment variable,
I'm sure the second issue can be fixed by directly building/installing
the sleepycat tarball, or via symlinks or something.

But I'm more concerned with the robustness of our autoconfiscation --
our ./configure should be smart enough to locate the DB libs and
headers on its own. My problems represent those of a typical FreeBSD
user, but who knows how many other Linux variants will encounter
similar problems?

I'll add this to the TASKS list.
Received on Sat Oct 21 14:36:08 2006

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.