Re: 7.1.3 compilation failure (libpq or aync?) - Mailing list pgsql-novice

From Tom Lane
Subject Re: 7.1.3 compilation failure (libpq or aync?)
Date
Msg-id 22685.1006202807@sss.pgh.pa.us
Whole thread Raw
In response to 7.1.3 compilation failure (libpq or aync?)  (James Olsen <jamesml@planetolsen.com>)
Responses Re: 7.1.3 compilation failure (libpq or aync?)
List pgsql-novice
James Olsen <jamesml@planetolsen.com> writes:
> I'm trying to compile PostGreSQL 7.1.3 on my slackware (4.0?) box.

> ../../../src/include/libpq/pqcomm.h:33: redefinition of `struct sockaddr_un'

This would seem to be an autoconfiguration failure.  If you look at that
include file you'll see that it only tries to define struct sockaddr_un
if HAVE_STRUCT_SOCKADDR_UN is not defined --- which indicates that
configure failed to find any definition of struct sockaddr_un in the
system header files.  But evidently there is one; so why didn't
configure find it?  Perhaps your system keeps it in an odd place.
Please see if you can figure out why configure missed this.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: 2 newbie questions
Next
From: Andrew McMillan
Date:
Subject: Re: performance benefit with views?