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

DB libs on FreeBSD

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2001-09-08 03:56:58 CEST

so i've been spending some more time trying to get subversion building
as a port on FreeBSD, and i've hit a snag. the autoconf stuff has
some tricks in it to deal with the fact that the freebsd port for
berkeley db sticks stuff in /usr/local/include/db3 and /usr/local/lib,
rather than someplace sane. the problem is that it tries to link
against -ldb, but FreeBSD installs it as libdb3.

unfortunately, i don't know enough about autoconf to fix this the
correct way, so i had to just take the brute force approach of
replacing all the instances of -ldb in berkeley-db.m4 with -ldb3,
which did make it detect it correctly.

if someone with more autoconf experience and a FreeBSD box could take
a look at this, i'd appreciate it.



garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 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.