Re: Compile error while building postgresql 10.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile error while building postgresql 10.3
Дата
Msg-id 6865.1521490943@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compile error while building postgresql 10.3  (Terry Phelps <tgphelps50@gmail.com>)
Ответы Re: Compile error while building postgresql 10.3  (Terry Phelps <tgphelps50@gmail.com>)
Список pgsql-hackers
Terry Phelps <tgphelps50@gmail.com> writes:
> I ran configure like this, because it got errors otherwise. OHHHH. I wonder
> if CFLAGS caused this.

> LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include  ./configure

That would've been fine, but configure then adds onto what you specified
as CFLAGS.

> And then I ran gmake like this:
> gmake  LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include

And here you overrode the additions.  Just do "gmake" without these
overrides.  If you look into src/Makefile.global you should see that
your initial specifications got into the selected flag variables.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Terry Phelps
Дата:
Сообщение: Re: Compile error while building postgresql 10.3
Следующее
От: Keiko Oda
Дата:
Сообщение: Trigger file behavior with the standby