Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-testers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group