Re: Error installing Postgres on Solaris 9 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Error installing Postgres on Solaris 9
Date
Msg-id 25025.1120587907@sss.pgh.pa.us
Whole thread Raw
In response to Error installing Postgres on Solaris 9  (Thanh Q Lam <thanh.q.lam@alcatel.com>)
Responses Re: Error installing Postgres on Solaris 9  (Thanh Q Lam <thanh.q.lam@alcatel.com>)
Re: Error installing Postgres on Solaris 9  (Michael Fuhr <mike@fuhr.org>)
List pgsql-bugs
Thanh Q Lam <thanh.q.lam@alcatel.com> writes:
> when I run: ./configure --without-readline, I get errors that aborts the
> configure process: "checking types of arguments for accept()...
> configure: error: could not determine argument types".

>> In file included from /usr/include/netinet/in.h:41,
>> from /usr/include/sys/socket.h:203,
>> from configure:10963:
>> /usr/include/sys/stream.h:307: parse error before "projid_t"
>> configure:10965: parse error before "accept"
>> configure:10965: conflicting types for `accept'
>> /usr/include/sys/socket.h:450: previous declaration of `accept'
>> configure:10965: warning: data definition has no type or storage class

Hmm --- the "parse error" suggests that sys/socket.h on your platform
has some inclusion dependency that we are failing to provide for.  Can
you find out what it is?  (Hint: look for "projid_t")

            regards, tom lane

pgsql-bugs by date:

Previous
From: Thanh Q Lam
Date:
Subject: Error installing Postgres on Solaris 9
Next
From: Thanh Q Lam
Date:
Subject: Re: Error installing Postgres on Solaris 9