Re: BUG #6038: configure warnings on sys/socket.h and netinet/in.h, make fails - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6038: configure warnings on sys/socket.h and netinet/in.h, make fails
Date
Msg-id BANLkTimAv7kDiV1No213CWVDuLzxDAgDaQ@mail.gmail.com
Whole thread Raw
In response to BUG #6038: configure warnings on sys/socket.h and netinet/in.h, make fails  ("Jeff" <jeffadams78@gmail.com>)
List pgsql-bugs
On Wed, May 25, 2011 at 5:03 PM, Jeff <jeffadams78@gmail.com> wrote:
> Building on MinGW/Msys on windows, here's the entire configure output.
> Configure completes (with the warnings you see below, which specifically
> said to report as bugs) and then make fails.
>
> I would not be surprised if I'm missing some other dependency, but it isn't
> immediately clear which one...

I don't know exactly what is going wrong here, but I've usually found
it's impossible to troubleshoot these kinds of issues without reading
config.log and the configure script itself.  If you're able to figure
out (either from config.log, or from reproducing it) exactly what the
error message it's getting when trying to compile those headers is,
you may be able to figure out what's gone wrong.

I personally find this the most annoying thing about autoconf.  My
personal bugbear is when it says "you don't have package X installed"
and I'm like "yeah I do", and then after ten minutes of pouring
through the logs I realize "oh, you're looking for the bits that are
only in the -devel package".  It would make life a lot easier if it
would say something like "you don't have package X installed (as
judged by the fact that I couldn't compile with #include <wumpus.h>)".
 But it doesn't.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #6040: ODBC 64 + SSL Hangs
Next
From: Robert Haas
Date:
Subject: Re: BUG #6039: Trying to use server status