Chander Ganesan <chander.gane...@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

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to