Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6 - Mailing list pgsql-general

From Tom Lane
Subject Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Date
Msg-id 17756.1338833597@sss.pgh.pa.us
Whole thread Raw
In response to Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6  (Chander Ganesan <chander.ganesan@gmail.com>)
List pgsql-general
Chander Ganesan <chander.ganesan@gmail.com> writes:
> Hello,
> I'm trying to build 64-bit PostgreSQL with gcc 4 on the solaris platform
> - this worked fine with gcc3, but the error below seems to come up with
> gcc4 .  has anyone seen it before (or does anyone have a quick solution
> for it?)

> gmake[3]: Entering directory
> `/src/postgres/postgresql-9.1.4/contrib/dummy_seclabel'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -fwrapv -fPIC -I. -I.  -c -o dummy_seclabel.o dummy_seclabel.c
> dummy_seclabel.c:15:31: fatal error: commands/seclabel.h: No such file
> or directory
> compilation terminated.

You seem to be missing -I../../src/include in that command, which
suggests that your "make" is a tad broken.

            regards, tom lane

pgsql-general by date:

Previous
From: Chander Ganesan
Date:
Subject: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Next
From: Nick
Date:
Subject: Re: Return equal number of rows with same column value