pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: max1@inbox.ru
Subject: make tutorial 13.2
Date: Sat, 06 Mar 2021 23:19:06 +0000
Message-ID: <161507274689.1045.10624592353536825631@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/tutorial-sql-intro.html
Description:

https://www.postgresql.org/docs/13/tutorial-sql-intro.html
This page tells how to make tutorial files:
$ cd .../src/tutorial
$ make

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
make: *** No targets.  Stop.

Makefile says the following:
# By default, this builds against an existing PostgreSQL installation
# (the one identified by whichever pg_config is first in your path).
# Within a configured source tree, you can say "make NO_PGXS=1 all"
# to build using the surrounding source tree.

So, in my case the following succeeded:
$ cd ...
$ ./configure
$ cd .../src/tutorial
$ make NO_PGXS=1 all

So, the documentation should tell how to build this tutorial in case of
binary distribution.


view thread (5+ messages)  latest in thread

Message-ID: <161507274689.1045.10624592353536825631@wrigleys.postgresql.org>
Permalink:  ../161507274689.1045.10624592353536825631@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/161507274689.1045.10624592353536825631@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, max1@inbox.ru
  Subject: Re: make tutorial 13.2
  In-Reply-To: <161507274689.1045.10624592353536825631@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox