pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: Phil Mills <PMills@veeco.com>
Cc: pgsql-ports@postgresql.org
Subject: Re: Compilation failure: 8.2.4 and 8.1.0 under XPPro/MinGW
Date: Thu, 05 Jul 2007 07:11:03 +0200
Message-ID: <468C7D67.3090509@hagander.net> (raw)
In-Reply-To: <5C45D12040C19D439DA0CE63A18738063399FF@ftcexch2.int.veeco.com>
References: <5C45D12040C19D439DA0CE63A18738063399FF@ftcexch2.int.veeco.com>

Phil Mills wrote:
> I've seen the build error below referenced in several messages, but haven't seen a clear answer for how to resolve it.  
> 
> Environment: XP Pro with MSys/MinGW freshly installed according to the docs here: http://www.postgresql.org/docs/faqs.FAQ_MINGW.html
> Zlib is installed; Visual Studio and Cygwin are also on the system but should be out of the way.
> 
> Reason for building: increase NAMEDATALEN so it'll quit truncating my absurdly-large column names.
> 
> Output from Make (substantially the same whether I'm building 8.2.4 or 8.1.0):
<snip>

This means your MingW is too new :-O
They made an incompatible change to their headers at some point (I think
someone said you need 3.9 or earlier). So your workaround is to
downgrade to an older version of mingw. (Or do the manual header hackery
that someone posted, but I'd really recommend something that works
without changing the libc headers)

Now that I see it again, I do think I have a patch sitting around
somewhere to fix that, I guess I'll have to find and review that one. If
we can't fix it, we at least need to get it into the FAQ. I'll write up
a suggestion for text there if I can't get the code fixed.

Unfortunately, keeping up with mingw is developing against a moving
target, so these things happen :-(


//Magnus





view thread (4+ messages)

Message-ID: <468C7D67.3090509@hagander.net>
Permalink:  ../468C7D67.3090509@hagander.net/
Also on:    postgresql.org/message-id/468C7D67.3090509@hagander.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: magnus@hagander.net, PMills@veeco.com
  Subject: Re: Compilation failure: 8.2.4 and 8.1.0 under XPPro/MinGW
  In-Reply-To: <468C7D67.3090509@hagander.net>
  References: <5C45D12040C19D439DA0CE63A18738063399FF@ftcexch2.int.veeco.com> <468C7D67.3090509@hagander.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox