Re: BDB4 from pkgsrc
On 07-04-2007 14:04:16 +0200, Fabian Groffen wrote:
> Two issues:
> 1) I cannot read this message (Message could not be opened). I need to
> edit it (e) to see you said "applied, thanks"
It only happens on Darwin, probably because gpgme won't (ever?) compile
on Solaris. The message is probably better translated as "cannot be
> 2) My suspicions are that after this patch my segfaults in hcache are
> back again. I think the reason is the following:
> Includes are taken from db4.3, while the final linking is done against
> db-4.5. Somehow I can imagine that this can go wrong.
> I can't find a way to force configure to just do "normal", so maybe I'll
> give up on bdb, or hack the configure check for Gentoo.
Suspicions are confirmed (this is Mutt 1.5.15 on Solaris). Without the
pkgsrc patch, configure uses as include usr/include// (note the slash),
and db-4.5. Before I submitted this patch that supports 4.4 and 4.5,
the include was still the same, seeing headers of db4.5, while linking
This also explains why other people report success with db 4.3, it is
simply the header/library mismatch that breaks things. Maybe mutt's
configure can check for this. It looks like the configure checks for
Berkely DB aren't optimal. Maybe Mutt can borrow some of the logic from
apr-util in this regard?
Gentoo on a different level