Re: pg_config problems on PG9.3/Centos?
От | Tom Lane |
---|---|
Тема | Re: pg_config problems on PG9.3/Centos? |
Дата | |
Msg-id | 1824.1390336374@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | pg_config problems on PG9.3/Centos? (Ken Tanzer <ken.tanzer@gmail.com>) |
Ответы |
Re: pg_config problems on PG9.3/Centos?
|
Список | pgsql-general |
Ken Tanzer <ken.tanzer@gmail.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@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
В списке pgsql-general по дате отправления: