Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured
Дата
Msg-id CADK3HH+sMn=0D=vVOXkf41fg9-N=RDZez+-tR7JHGFaJmwGqNw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] building HEAD on macos fails with #error no source of random numbers configured  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
That will teach me to copy and paste a config from somewhere ...

Thanks

Dave Cramer

On 9 December 2016 at 10:43, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Dave Cramer <davecramer@gmail.com> writes:
> Looking at src/port/pg_strong_random.c  this would be a bug in autoconf

It looks more like self-inflicted damage from here:

> ./configure --prefix=/usr/local/pgsql/10 --enable-debug --with-python
> --with-openssl --with-libraries=/usr/local/opt/openssl/lib
> --with-includes=/usr/local/opt/openssl/include/ --no-create --no-recursion

Why are you using either --no-create or --no-recursion?  The former
*definitely* breaks things:

$ ./configure --help | grep create
  -n, --no-create         do not create output files

Presumably the proximate cause of that error message is that configure
hasn't updated pg_config.h from some ancient version thereof, as a
consequence of this switch.

I'm not sure what --no-recursion does, but I would say that we'd
consider that unsupported as well.

                        regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] `array_position...()` causes SIGSEGV
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured