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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured
Дата
Msg-id e7d056f5-6fc4-c6d2-ca4b-1efe00c92f74@iki.fi
обсуждение исходный текст
Ответ на Re: [HACKERS] building HEAD on macos fails with #error no source of random numbers configured  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On 12/09/2016 05:43 PM, Tom Lane 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.

Interesting. Running config.status adds those --no-create --no-recursion 
flags automatically. You can see them in the command-line at the top of 
config.log, too. I never bothered to check what they do...

- Heikki




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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [HACKERS] jsonb problematic operators