FreeBSD4.1 & berkeleydb...

Matus "fantomas" Uhlar uhlar at fantomas.sk
Mon Jan 15 14:31:36 UTC 2001


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 ?

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar at fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Linux is like a wigwam: no Windows, no Gates and an apache inside...

---
Odchozí zpráva obsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.217 / Virová báze: 102 - datum vydání: 1/12/2000



More information about the inn-workers mailing list