Re: Error installing Postgres on Solaris 9

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thanh Q Lam <thanh(dot)q(dot)lam(at)alcatel(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Error installing Postgres on Solaris 9
Date: 2005-07-05 18:25:07
Message-ID: 25025.1120587907@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanh Q Lam <thanh(dot)q(dot)lam(at)alcatel(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jose fuenmayor 2005-07-05 18:27:14 problems with pgadmin 3
Previous Message Thanh Q Lam 2005-07-05 17:22:35 Error installing Postgres on Solaris 9