pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
CentOS 7 incorrect installation location
3+ messages / 3 participants
[nested] [flat]

* CentOS 7 incorrect installation location
@ 2017-01-18 20:24 gregory.r.moon@gmail.com
  2017-02-02 21:45 ` Re: CentOS 7 incorrect installation location Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  2017-02-02 21:48 ` Re: CentOS 7 incorrect installation location Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 2 replies; 3+ messages in thread

From: gregory.r.moon@gmail.com @ 2017-01-18 20:24 UTC (permalink / raw)
  To: pgsql-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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: CentOS 7 incorrect installation location
  2017-01-18 20:24 CentOS 7 incorrect installation location gregory.r.moon@gmail.com
@ 2017-02-02 21:45 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2017-02-02 21:45 UTC (permalink / raw)
  To: gregory.r.moon@gmail.com; pgsql-docs

On 1/18/17 3:24 PM, gregory.r.moon@gmail.com wrote:
> 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.

That would mean that the packaging is broken.  Can anyone confirm this?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: CentOS 7 incorrect installation location
  2017-01-18 20:24 CentOS 7 incorrect installation location gregory.r.moon@gmail.com
@ 2017-02-02 21:48 ` Devrim Gündüz <devrim@gunduz.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Devrim Gündüz @ 2017-02-02 21:48 UTC (permalink / raw)
  To: gregory.r.moon@gmail.com; pgsql-docs; +Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>


Hi,

On Wed, 2017-01-18 at 20:24 +0000, gregory.r.moon@gmail.com wrote:
> 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/...

I think both CentOS and community RPMs are both installed. What is the output
of

rpm -qf /usr/bin/pg_config

Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-02-02 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 20:24 CentOS 7 incorrect installation location gregory.r.moon@gmail.com
2017-02-02 21:45 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2017-02-02 21:48 ` Devrim Gündüz <devrim@gunduz.org>

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