From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dave Cramer <davecramer(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: building HEAD on macos fails with #error no source of random numbers configured |
Date: | 2016-12-09 15:53:28 |
Message-ID: | e7d056f5-6fc4-c6d2-ca4b-1efe00c92f74@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 12/09/2016 05:43 PM, Tom Lane wrote:
> Dave Cramer <davecramer(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2016-12-09 15:56:38 | Re: jsonb problematic operators |
Previous Message | Dave Cramer | 2016-12-09 15:49:35 | Re: building HEAD on macos fails with #error no source of random numbers configured |