Lawrence Greenfield <[EMAIL PROTECTED]> wrote:
> Berkeley DB 3 on NetBSD (and similarly in FreeBSD) is installed as:
> /usr/pkg/lib/libdb3.a and /usr/pkg/include/db3/*.h so as not to
> conflict with the "native" db in NetBSD.
>
> I'm not sure how I'm suppose to deal with this; I could be chasing db
> files all around eternity. I'd welcome patches.
Ok i just compiled 2.0.11 on netbsd 1.5. All I had to do was s/db-3/db3 in
configure. so all that needs to be done is to stick in (yet) another test for
db3, i.e. '-ldb3' in configure.in just before or after the test for db-3. the
script picks up the include files ok (/usr/pkg/include/db3) once i specify
--with-dbdir=/usr/pkg so no changes there, just the library check.
> Sometimes mismatched db libraries cause crashes. The documentation
> could also say to compile libsasl without db support
> (--with-dblib=none).
Yes, this seems to work, however I had to patch utils/sasldblistusers.c as
follows:
--- sasldblistusers.c.orig Thu Feb 15 13:44:03 2001
+++ sasldblistusers.c Thu Feb 15 13:44:41 2001
@@ -309,7 +309,7 @@
#else
-int listusers(listcb_t *cb)
+int listusers(const char *path, listcb_t *cb)
{
fprintf(stderr,"Unsupported DB format");
exit(1);
> For imapd I had to do CPPFLAGS="-I/usr/include/krb5
> -I/usr/include/openssl" before running configure to pick up include
> files. However some of the Makefiles under perl/ didn't "inherit"
> these CPPFLAGS, so I had to add the includes to the "INC" hash key
> in Makefile.PL as these seem to be (post-configure) generated
> Makefiles
>
> If there are generic fixes for these problems, I'd love to have them.
> (I don't really have time to chase this down right now.)
I'll have a look at this, should just be a few Makefile tweaks.
> - libwrap wasn't detected, even though it exists and works!
> /usr/lib/libwrap.a, /usr/lib/libwrap.so* and /usr/include/tcpd.h
> are there ok. passing --with-libwrap=/usr doesn't work either.
>
> I think the next release will fix this.
Ok, I haven't tried this yet as master can now bind services to specific IPs.
> I thought there was a way of making Netscape check multiple folders.
Not that I'm aware of..
Regards,
--
Cillian