В Вс, 07/03/2021 в 11:42 -0500, Tom Lane пишет: > PG Doc comments form <nore...@postgresql.org> writes: > > I have a binary distribution version 13.2, installed from the > > Postgres yum > > repository, on Fedora 33. > > So, I downloaded the source code from here: > > https://www.postgresql.org/ftp/source/v13.2/ > > And tried to build according to the instruction: > > > [max@max-home tutorial]$ make > > make: pg_config: No such file or directory > > Apparently, you didn't install whichever sub-package of the Postgres > distribution contains pg_config. Might be postgresql-devel, or > postgresql-dev in Debian-flavored distros. The PG project > documentation > can't cover this; it's the responsibility of each group of packagers > to > decide (and document) how their distributions are laid out. Building the source tree does not require postgresql13-devel. This is, of course, because the source tree has all development files. I have installed development libraries needed for building. I enter these commands - ./configure make
- and they just work. But using "make" in the tutorial subdirectory does not work in my case. And this behavior is documented in Makefile. I think the issue is not distribution-specific.