Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chander Ganesan <chander(dot)ganesan(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Date: 2012-06-04 18:13:17
Message-ID: 17756.1338833597@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chander Ganesan <chander(dot)ganesan(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nick 2012-06-05 00:27:04 Return equal number of rows with same column value
Previous Message Chander Ganesan 2012-06-04 17:06:59 Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6