FreeBSD4.1 & berkeleydb...

Russ Allbery rra at stanford.edu
Mon Jan 15 17:03:33 UTC 2001


Matus \"fantomas\" Uhlar <uhlar at fantomas.sk> writes:

> Hello,

> I found a problem with berkeleydb on FreeBSD4.1

> db.h is located in /usr/local/include/db3/ not in /usr/local/include

> the compilation fails with this error:

> gcc -O2 -I../include -I../../include -I.. -I/usr/local/include -c  -fPIC
> -DPIC ovdb.c -o .libs/ovdb.lo
> ovdb.c:102: #error Need BerkeleyDB 2.6.x, 2.7.x, or 3.x
> *** Error code 1

> ... probably because it finds db.h in /usr/include which doesn't define 
> DB_VERSION_MAJOR nor DB_VERSION_MINOR

> well it seems we have to update copnfigure script right ?

Easy enough to add these, but is BerkeleyDB 3.x ready for prime time?  I
got the impression that 2.x was the only one that was stable really so far
(and configure already finds 2.x on FreeBSD).

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list