Re: Unable to `make install` on MacOS in the latest master (68a13f28be) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unable to `make install` on MacOS in the latest master (68a13f28be)
Date
Msg-id 18827.1546532052@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unable to `make install` on MacOS in the latest master(68a13f28be)  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Unable to `make install` on MacOS in the latest master (68a13f28be)  (Andrew Alsup <bluesbreaker@gmail.com>)
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
>> On 3 Jan 2019, at 16:54, Chapman Flack <chap@anastigmatix.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


pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Unable to `make install` on MacOS in the latest master(68a13f28be)
Next
From: Andrew Alsup
Date:
Subject: Re: Unable to `make install` on MacOS in the latest master (68a13f28be)