Re: Building PostgreSQL in external directory is broken? - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: Building PostgreSQL in external directory is broken?
Date
Msg-id 87tu7li5op.fsf@wibble.ilmari.org
Whole thread Raw
In response to Building PostgreSQL in external directory is broken?  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Building PostgreSQL in external directory is broken?
List 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 by date:

Previous
From: Amit Langote
Date:
Subject: Re: Eliminating SPI from RI triggers - take 2
Next
From: Spyridon Dimitrios Agathos
Date:
Subject: Bug: Reading from single byte character column type may cause out of bounds memory reads.