compiling inn on FreeBSD - berkeley db path

Matus "fantomas" Uhlar uhlar at fantomas.sk
Mon Jul 2 10:14:10 UTC 2001



HEllo,

compiling inn on Freebsd4.3 fails because:

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

Stop in /usr/home/news/inn-2.3.2/storage/ovdb.
*** Error code 1

Stop in /usr/home/news/inn-2.3.2/storage.
*** Error code 1

Stop in /usr/home/news/inn-2.3.2/storage.
*** Error code 1

Stop in /usr/home/news/inn-2.3.2.

the problem is in:

#include <db.h>


there are 2 such files:

/usr/include/db.h
/usr/local/include/db3/db.h

and the first one is included; the second one should...
I added this argument to configure:

--includedir=/usr/local/include/db3

and even

--x-includes=/usr/local/include/db3

but it seems being ignored...

hmmm that's no good, any ideas how to solve it ? (a clear solution)

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar at fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Due to unexpected conditions Windows 2000 will be released
 in first quarter of year 1901


More information about the inn-bugs mailing list