Re: Can't run configure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't run configure
Дата
Msg-id 28169.1032193711@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can't run configure  ("Williams, Travis L, NPONS" <tlw@att.com>)
Список 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 по дате отправления:

Предыдущее
От: "Williams, Travis L, NPONS"
Дата:
Сообщение: Re: Can't run configure
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RI Trigger Names