compiling inn on FreeBSD - berkeley db path

Matus "fantomas" Uhlar uhlar at fantomas.sk
Tue Sep 25 13:26:00 UTC 2001



Hello,

did anyone reply/take care of this?

Me wrote:
-> Date: Mon, 2 Jul 2001 12:14:10 +0200
-> From: "Matus \"fantomas\" Uhlar" <uhlar at fantomas.sk>
-> Subject: compiling inn on FreeBSD - berkeley db path
-> 
-> 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)

virtual.nextra.sk-news: find . -type f -print |xargs grep 'include/db3'
Exit 1

- they ARE ignored.

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar at fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease


More information about the inn-bugs mailing list