Re: Building PostgreSQL in external directory is broken?
От | Dagfinn Ilmari Mannsåker |
---|---|
Тема | Re: Building PostgreSQL in external directory is broken? |
Дата | |
Msg-id | 87tu7li5op.fsf@wibble.ilmari.org обсуждение исходный текст |
Ответ на | Building PostgreSQL in external directory is broken? (Alexander Korotkov <aekorotkov@gmail.com>) |
Ответы |
Re: Building PostgreSQL in external directory is broken?
|
Список | pgsql-hackers |
Aleksander Alekseev <aleksander@timescale.com> writes: > Hi Alexander, > > To be honest, this is the first time I see anyone trying to build a > project that is using Autotools from an external directory :) I > checked the documentation [1] and it doesn't seem that we claim to > support this. > > [1]: https://www.postgresql.org/docs/current/install-short.html That's the short version. The longer version² does claim it's supported: You can also run configure in a directory outside the source tree, and then build there, if you want to keep the build directory separate from the original source files. This procedure is called a VPATH build. Here's how: mkdir build_dir cd build_dir /path/to/source/tree/configure [options go here] make - ilmari [2] https://www.postgresql.org/docs/current/install-procedure.html
В списке pgsql-hackers по дате отправления: