Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id BB2F06327B2 for ; Wed, 30 Dec 2009 12:59:06 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 66506-09 for ; Wed, 30 Dec 2009 16:58:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from puffy.raveland.org (puffy.raveland.org [195.200.166.230]) by mail.postgresql.org (Postfix) with ESMTP id 1955C632F2C for ; Wed, 30 Dec 2009 12:58:56 -0400 (AST) Received: from coredump.raveland.priv (hercule.pacwan.net [195.200.191.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pea@raveland.org) by puffy.raveland.org (Postfix) with ESMTPSA id CA9A413D4C5; Wed, 30 Dec 2009 17:58:53 +0100 (CET) Date: Wed, 30 Dec 2009 17:58:52 +0100 From: postgresql@raveland.org To: Greg Smith Cc: postgresql@raveland.org, pgsql-testers@postgresql.org Subject: Re: [Postgresql alpha3] Configure fails with --libxml on OpenBSD Message-ID: <20091230165851.GC15571@coredump.raveland.priv> References: <20091230110717.GB15571@coredump.raveland.priv> <4B3B8109.6070604@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4B3B8109.6070604@2ndquadrant.com> X-Operating-System: OpenBSD 4.6 amd64 User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/8 X-Sequence-Number: 20 On Wed, Dec 30, 2009 at 11:34:17AM -0500, Greg Smith wrote: > postgresql@raveland.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,