Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
От:
Chander Ganesan <chander.ganesan@gmail.com>
Дата:
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. Thanks
Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Chander Ganesan 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