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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Дата
Msg-id 17756.1338833597@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6  (Chander Ganesan <chander.ganesan@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Chander Ganesan
Дата:
Сообщение: Building PostgreSQL 9.1.4 on Solaris 64-bit with gcc 4.6
Следующее
От: Nick
Дата:
Сообщение: Re: Return equal number of rows with same column value