Re: Can't run configure - Mailing list pgsql-general

From Tom Lane
Subject Re: Can't run configure
Date
Msg-id 28169.1032193711@sss.pgh.pa.us
Whole thread Raw
In response to Re: Can't run configure  ("Williams, Travis L, NPONS" <tlw@att.com>)
List pgsql-general
"Williams, Travis L, NPONS" <tlw@att.com> writes:
>     After playing with it for a bit I got it to compile by not using
> Gcc and using HP's cc.. Somewhere I thought I had read that you couldn't
> use hp's default cc.. and that you had to use the gnu gcc?

No, HP's cc is fine.  It now sounds like the issue is that HP's cc
auto-defines some symbol that the 11.20 headers must have defined to
produce a consistent set of definitions ... while gcc doesn't :-(.

It would be interesting to see the output of

cc -Ae -E /usr/include/sys/socket.h

and

gcc -E /usr/include/sys/socket.h

(ps: please try to send them in a way that doesn't mess up the
formatting; your transmission of socket.h was rather badly mangled
by linewrapping)

            regards, tom lane

pgsql-general by date:

Previous
From: "Williams, Travis L, NPONS"
Date:
Subject: Re: Can't run configure
Next
From: Jan Wieck
Date:
Subject: Re: RI Trigger Names