Re: Building PostgreSQL in external directory is broken?
От | Alvaro Herrera |
---|---|
Тема | Re: Building PostgreSQL in external directory is broken? |
Дата | |
Msg-id | 20220713121906.h22e2rmpigxx2fwf@alvherre.pgsql обсуждение исходный текст |
Ответ на | Building PostgreSQL in external directory is broken? (Alexander Korotkov <aekorotkov@gmail.com>) |
Ответы |
Re: Building PostgreSQL in external directory is broken?
|
Список | pgsql-hackers |
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. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Once again, thank you and all of the developers for your hard work on PostgreSQL. This is by far the most pleasant management experience of any database I've worked on." (Dan Harris) http://archives.postgresql.org/pgsql-performance/2006-04/msg00247.php
В списке pgsql-hackers по дате отправления: