Re: Unable to `make install` on MacOS in the latest master (68a13f28be)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, Andrew Alsup <bluesbreaker(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unable to `make install` on MacOS in the latest master (68a13f28be)
Date: 2019-01-03 16:14:12
Message-ID: 18827.1546532052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
>> On 3 Jan 2019, at 16:54, Chapman Flack <chap(at)anastigmatix(dot)net> wrote:
>> Perhaps influenced by commit 842cb9f ?

> It is indeed related to that commit. You will need to do make distclean, or
> remove dynloader.h manually.

As a general rule, it's wise to do "make distclean" before "git pull"
when you're tracking master. This saves a lot of grief when someone
rearranges the set of generated files, as happened here. (If things
are really messed up, you might need "git clean -dfx" to get rid of
everything not in git.)

You might worry that this will greatly increase the rebuild time,
which it will if you don't take precautions. The way to fix that
is (1) use ccache and (2) set the configure script to use a cache
file.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hugh Ranalli 2019-01-03 16:19:43 Re: BUG #15548: Unaccent does not remove combining diacritical characters
Previous Message Daniel Gustafsson 2019-01-03 15:57:48 Re: Unable to `make install` on MacOS in the latest master (68a13f28be)