From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> |
Cc: | PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_config problems on PG9.3/Centos? |
Date: | 2014-01-21 20:32:54 |
Message-ID: | 1824.1390336374@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> writes:
> When I look the output of pg_config, and especially compared to my 9.2
> output, it seems suspiciously lacking some 9.3 paths:
> [root(at)new-agency table_log-0.4.4]# pg_config | more
> BINDIR = /usr/bin
> DOCDIR = /usr/share/doc/pgsql
> HTMLDIR = /usr/share/doc/pgsql
> INCLUDEDIR = /usr/include
> PKGINCLUDEDIR = /usr/include
> INCLUDEDIR-SERVER = /usr/include/server
> LIBDIR = /usr/lib
> PKGLIBDIR = /usr/lib
> LOCALEDIR = /usr/share/locale
> MANDIR = /usr/share/man
> SHAREDIR = /usr/share
> SYSCONFDIR = /etc/sysconfig/pgsql
Exactly where is root's path finding pg_config?
IIRC, most of the paths shown here are actually computed relative to the
location of the pg_config executable, so I could imagine getting this
kind of result if you'd done something like symlinking pg_config into
/usr/bin.
I would've guessed that you were invoking a pg_config shipped with the
regular Red Hat postgres packages, except for this:
> CONFIGURE = '--disable-rpath' '--prefix=/usr/pgsql-9.3'
> '--includedir=/usr/pgsql-9.3/include' '--mandir=/
> usr/pgsql-9.3/share/man' '--datadir=/usr/pgsql-9.3/share' '--with-perl'
which seems to prove that the package was built with the correct
options for PGDG's file placement.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Ken Tanzer | 2014-01-21 21:18:50 | Re: pg_config problems on PG9.3/Centos? |
Previous Message | Kevin Field | 2014-01-21 20:04:53 | Re: client_min_messages not suppressing messages in psql nor pgAdminIII |