From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Joe Bernstein <joe(at)sfbooks(dot)com>, pgsql-ports(at)postgresql(dot)org |
Subject: | Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred |
Date: | 2002-04-15 19:40:36 |
Message-ID: | 200204151940.g3FJeaw13612@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Tom Lane wrote:
> Joe Bernstein <joe(at)sfbooks(dot)com> writes:
> > So look: Is whatever may or may not be wrong with this machine
> > concerning peercred so catastrophically wrong that I Must Not attempt
> > to run PostgreSQL?
>
> Just disable the code that tries to support peercred; it's certainly
> not a necessary feature. (Change "#if defined(SO_PEERCRED)" to #if 0.)
>
> This does indicate that assuming SO_PEERCRED exists means struct ucred
> exists is Wrong. Probably there should be a direct configure check for
> HAVE_STRUCT_UCRED.
That is interesting. My guess is that indeed it is a mixed OS version
installed:
> The machine is an i586 with a Linux on it that is ancestrally Red
> Hat 5.2, kernel 2.3.2, but that has been hacked since and may since
> have had another Linux installed over it (I'm not sure). I do know
This is the first compile failure we have heard about and it is hard to
imagine you have SO_PEERCRED defined but no ucred. My guess is that
some of the system includes where updated, but not all.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-04-16 00:43:39 | Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred |
Previous Message | Lamar Owen | 2002-04-15 17:44:19 | Re: problem with postgres and mandrake 8.2 |