From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Building PostgreSQL in external directory is broken? |
Date: | 2022-07-13 12:35:56 |
Message-ID: | CAPpHfdt5AG_UjSYxK1L5RCc7vEeKrWWPeXEvcKpQffmUTyTG8Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jul 13, 2022 at 3:19 PM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> On 2022-Jul-13, Alexander Korotkov wrote:
>
> > results in an error
> >
> > .../src/pgbld/../postgresql/src/include/utils/elog.h:73:10: fatal
> > error: utils/errcodes.h: No such file or directory
> > 73 | #include "utils/errcodes.h"
> >
> > | ^~~~~~~~~~~~~~~~~~
>
> Probably what is happening here is that you have build artifacts in the
> source tree after having built there, and that confuses make so not
> everything is rebuilt correctly when you call it from the external build
> dit. I suggest to "git clean -dfx" your source tree, then you can rerun
> configure/make from the external builddir.
>
> FWIW building in external dirs works fine. I use it all the time.
You are right. I made "make distclean" which appears to be not
enough. With "git clean -dfx" correct symlink is generated. Sorry
for the noise.
------
Regards,
Alexander Korotkov
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2022-07-13 12:37:04 | Re: Building PostgreSQL in external directory is broken? |
Previous Message | Alvaro Herrera | 2022-07-13 12:19:06 | Re: Building PostgreSQL in external directory is broken? |