Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured
Date
Msg-id CADK3HH+sMn=0D=vVOXkf41fg9-N=RDZez+-tR7JHGFaJmwGqNw@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] building HEAD on macos fails with #error no source of random numbers configured  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] `array_position...()` causes SIGSEGV
Next
From: Heikki Linnakangas
Date:
Subject: Re: [HACKERS] building HEAD on macos fails with #error no source ofrandom numbers configured