pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gregory.r.moon@gmail.com
To: pgsql-docs@postgresql.org
Subject: CentOS 7 incorrect installation location
Date: Wed, 18 Jan 2017 20:24:00 +0000
Message-ID: <20170118202400.1431.34177@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

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

The make command in the tutorial throws an error concerning the pgxs path.
&quot;pg_config --pgxs&quot; returns &quot;/usr/lib/pgxs/...&quot;, when the actual path is
&quot;/usr/pgsql-9.6/lib/pgxs/...&quot;. Similarly, the expected location of the
header files is &quot;/usr/include/...&quot;, when they are actually installed to
&quot;/usr/pgsql-9.6/include/...&quot;. This causes the command to fail and so the
tutorial cannot continue until the issues are addressed.

To replicate:
1. Install postgres repo
&quot;yum install
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rp...;
2. Install postgres and postgres-server
&quot;yum install postgresql96 postgresql96-devel postgresql96-server&quot;
3. Start postgresql server using initdb/systemctl commands
4. Download postgresql-9.6 source from
https://ftp.postgresql.org/pub/source/v9.6.1/postgresql-9.6.1.tar.gz
5. Expand source files
6. Move to tutorial directory
&quot;cd ..../src/tutorial&quot;
7. Run make



-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


view thread (3+ messages)  latest in thread

Message-ID: <20170118202400.1431.34177@wrigleys.postgresql.org>
Permalink:  ../20170118202400.1431.34177@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170118202400.1431.34177@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: gregory.r.moon@gmail.com
  Subject: Re: CentOS 7 incorrect installation location
  In-Reply-To: <20170118202400.1431.34177@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