Re: Build error under FreeBSD with ldap_caching

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Sun, 11 Jul 2010 14:11:25 -0700 (PDT)

On Mon, 12 Jul 2010, Hirohisa Yamaguchi wrote:
> When we install Berkeley DB using ports system;
> db.h will be placed under /usr/local/include/db*/db.h
> # e.g. /usr/local/include/db45/db.h for bdb-4.5
> libdb.a will be placed under /usr/local/lib/db*/libdb.a
> and LIBS option will be the name with the version number
> # e.g. "-ldb-4.5" for bdb-4.5
> for side-by-side install.
>
> It seems that current configure script checks for $bdb/include/db.h,
> $bdb/lib/libdb.a, and "-ldb".
>
> Is there any workaround or solution for this?

Yes, it was reported earlier today. The attached patch deals with it.

> # Is it possible to have some options like: --with-db-incdir,
> # --with-db-libdir, --with-db-name

That's been requested before. If it will help with the ports then I don't
mind adding it. Hopefully we won't need to split every "--with" we have
now into three new ones...

The next release is 2.1.3 slated for July 20, but I can probably get you a
diff before then.

-MSK

Received on Sun Jul 11 2010 - 21:11:43 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Mon Jul 12 2010 - 01:50:01 PST