Обсуждение: where to find pg_config....

Поиск
Список
Период
Сортировка

where to find pg_config....

От
Clyde Swann
Дата:
running fedora 2...  just installed postgresql 7.4.12 from postgresql website because the version that came with fedora core 2  did not have the pg_config in postgres-devel.  now this one does not either.  what gives?  where do i find pg_config.  i have applications and perl modules that will not install because they can not find it.  i have searched the hard drive for 2 days and can't find it.  HELP!  PLEASE!  Drives me nutty when things are not where it is said they are supposed to be.  searched the web (google) and everyone says the same thing, install postgres-devel.  it is not working.
--
Clyde Swann <cswann@blackswann.net>
BlackSwann Information Management Systems

Re: where to find pg_config....

От
Peter Eisentraut
Дата:
Clyde Swann wrote:
> supposed to be. searched the web (google) and everyone says the same
> thing, install postgres-devel.  it is not working.

I'm sure they said install postgresql-devel.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: where to find pg_config....

От
Devrim GUNDUZ
Дата:
Hi,

On Fri, 2006-03-24 at 01:16 -0600, Clyde Swann wrote:
> running fedora 2...  just installed postgresql 7.4.12 from postgresql
> website because the version that came with fedora core 2  did not have
> the pg_config in postgres-devel.  now this one does not either.  what
> gives?

Fedora Core 2 RPMs (of Fedora) provide pg_config:

[devrim@lc ~]$ rpm -qlp postgresql-devel-7.4.2-1.i386.rpm |grep
pg_config
/usr/bin/pg_config
/usr/include/pg_config.h
/usr/include/pg_config_manual.h
/usr/include/pg_config_os.h
/usr/include/pgsql/server/pg_config.h
/usr/include/pgsql/server/pg_config_manual.h
/usr/include/pgsql/server/pg_config_os.h
/usr/share/man/man1/pg_config.1.gz

However, I suggest you to upgrade to PGDG RPMs since even their legacy
updates have 7.4.8, but the current version is 7.4.12:

http://www.postgresql.org/ftp/binary/v7.4.12/rpms/fedora/fedora-core-2/

(postgresql-devel package includes pg_config)

Also, you may want to upgrade to latest version:

http://www.postgresql.org/ftp/binary/v8.1.3/linux/rpms/fedora/fedora-
core-2/

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/