Small bug in the INN code (BerkleyDB and FreeBSD)

Alex Semenyaka alexs at
Tue Jun 13 12:08:43 UTC 2000


There is a small note. INN compiled with --with-berkleydb requires new
version of the Berkley DB packages which can be installed from the FreeBSD
ports collection or from the pre-compiled packages set. And here we have a
small problem, since the include files for Berkley DB will be installed to
/usr/local/include/db2/. This path for included file cannot be (as far as I
understand) provided by the value PATH of --with-berkleydb=PATH option since
the db.h will be searched in PATH/include/.

The workaround is extremely simple: under FreeBSD instead of <db.h> use
<db2/db.h>. Solution, of course, should be portable but I just start to
play with INN and did not learn it's style so cannot provide code in
'INN-style'. Hope it will be easy.

Thank you,

Sincerely Yours, Alex Semenyaka
System Administrator
Cronyx Plus ISP

More information about the inn-bugs mailing list