Re: What generates pg_config.h?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Travis Allison <travisallison(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, tgl(at)sss(dot)pgh(dot)pa(dot)us, floriparob(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org, Christoph Berg <myon(at)debian(dot)org>
Subject: Re: What generates pg_config.h?
Date: 2018-01-05 21:27:50
Message-ID: 20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Travis Allison wrote:
> No instance of Postgres 10 running. I took Tom's suggestion: I ran dpkg -S
> /usr/include/postgresql/pg_config.h
> Result: libpq-dev: /usr/include/postgresql/pg_config.h
>
> Here is the result from dpkg-query -l | grep libpq
>
> ii libpq-dev 10.0-1.pgdg16.04+1
> amd64 header files for libpq5
> (PostgreSQL library)
> ii libpq5:amd64 10.0-1.pgdg16.04+1
> amd64 PostgreSQL C client library
>
> So thanks to all of your help, I've identified the culprit.
>
> Any suggestions on what to do next?

I wonder if there is a mistake in the use of INCLUDEDIR vs.
INCLUDEDIR-SERVER for -I. Maybe both are being used, and looks like
only the latter should be. It seems odd that there are two pg_config.h
files getting included ...

but I do wonder why is there a pg_config.h in libpq-dev.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2018-01-05 22:56:30 Re: What generates pg_config.h?
Previous Message Jehan-Guillaume (ioguix) de Rorthais 2018-01-05 21:00:42 Re: Postgres HA