Re: [evolution-patches] Fixing configure.in on the stable branch so Evolution will compile



On Wed, 2003-12-24 at 20:29, Rodney Dawes wrote:
> This seems to be a problem that only occurs on Red Hat 9. The problem
> doesn't exist on any other distributions. It is also only an
> intermittent problem. It doesn't occur at all on any of the platforms
> I build packages on, even Red Hat 9. I don't think this should go into
> stable. It is a distribution-specific patch. The problem doesn't exist
> in HEAD at all anymore either, or shouldn't, since we copied db4 into
> the evolution-data-server tree. A better solution would probably be to
> rebuild db3 so that it has libpthread linked. Why it wouldn't be linked,
> though, I have no idea.

The reason it occurs is that Red Hat Linux 9 (and Red Hat Enterprise
Linux 3 and Fedora Core 1 as well) all use NPTL.  This causes db3's
configure checks to decide that there is a valid posix compatible mutex
locking that can be used from libpthread and libdb3 will pick up a
dependency on libpthread.  Since db3 gets linked statically by
evolution, you have to list every dependent library in your link line
instead of being able to depend on shared libraries doing things for
you.  Hooray :(

Jeremy

PS This should not be construed as a "this patch should be added" -- I
actually patch the db3 in our evolution builds to not link against
libpthread because the changed locking semantics could make using
evolution across machines running different distributions problematic.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]