Re: [Postgresql alpha3] Configure fails with --libxml on OpenBSD

From: postgresql(at)raveland(dot)org
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: postgresql(at)raveland(dot)org, pgsql-testers(at)postgresql(dot)org
Subject: Re: [Postgresql alpha3] Configure fails with --libxml on OpenBSD
Date: 2009-12-30 16:58:52
Message-ID: 20091230165851.GC15571@coredump.raveland.priv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-testers

On Wed, Dec 30, 2009 at 11:34:17AM -0500, Greg Smith wrote:
> postgresql(at)raveland(dot)org wrote:
> >I don't understand why the detection of both -pthread and
> >-lpthread fails with --libxml (may the messages about
> >strcpy/strcat be the cause) ?
> Those warning are just that: warnings, nothing related to your problem.
>
> My first guess is that you're using a libxml from before thread
> safety was introduced, or have a version that wasn't compiled to
> support it:
>
> http://xmlsoft.org/threads.html
>
> There was a recent change to PostgreSQL that switched the default to
> turning on thread safety for clients when you build. You can easily
> turn it back off again with passing --disable-thread-safety if you
> just don't have an installed libxml that is thread-safe.
>

Hi Greg,

Thanks for your answer.
You're right: the libxml (on OpenBSD) is build without the threads support.
I already use --disable-thread-safety but I was curious about the error
with libxml.

Regards,

In response to

Browse pgsql-testers by date

  From Date Subject
Next Message Greg Smith 2009-12-30 17:27:08 Re: [Fwd: "pg_regress: initdb failed" with git tree]
Previous Message Aioanei Rares 2009-12-30 16:52:06 Re: [Fwd: "pg_regress: initdb failed" with git tree]