Project

General

Profile

Bug #2965

pg_config is deprecated to build postgres client applications

Added by stbuehler 3 months ago. Updated 11 days ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
build_autotools
Target version:
Start date:
2019-07-05
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

openSUSE removed pg_config from postgresql-devel - we should use pkg-config with libpq.pc instead (debian: present since debian 8 jessie in libpq-dev).

https://lists.opensuse.org/opensuse-factory/2019-03/msg00299.html

On Thursday 2019-03-21 15:28, Boris Manojlovic wrote:

    I was surprised with automated mail that my package zabbix was failing
    building on openSUSE:Factory, after trying to build it locally i have
    discovered that postgresql-devel does not even install development
    package (11 in this moment...) and as in package i only require meta
    package postgresql-devel it now fails with pg_config not found. Can
    someone share logic which now should be used that is portable between
    versions of openSUSE?

pg_config is apparently gone, the fix is to use pkg-config with libpq.pc
instead.

Associated revisions

Revision 3eff9bac (diff)
Added by gstrauss 12 days ago

[build] prefer pkg-config for postgres (fixes #2965)

x-ref:
"pg_config is deprecated to build postgres client applications"
https://redmine.lighttpd.net/issues/2965

Revision e790203a (diff)
Added by gstrauss 8 days ago

[build] PGSQL_CFLAGS with pkg-config for postgres (#2965)

x-ref:
"pg_config is deprecated to build postgres client applications"
https://redmine.lighttpd.net/issues/2965

Revision 5c3f439b (diff)
Added by gstrauss 8 days ago

[build] PGSQL_CFLAGS with pkg-config for postgres (#2965)

build postgres modules with $(PGSQL_CFLAGS) in Makefile.am

x-ref:
"pg_config is deprecated to build postgres client applications"
https://redmine.lighttpd.net/issues/2965

History

#1

Updated by gstrauss 12 days ago

  • Category set to build_autotools
  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.55
#2

Updated by gstrauss 11 days ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom