pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Travis Allison <travisallison@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: tgl@sss.pgh.pa.us
Cc: floriparob@gmail.com
Cc: pgsql-general@postgresql.org
Cc: Christoph Berg <myon@debian.org>
Subject: Re: What generates pg_config.h?
Date: Fri, 5 Jan 2018 18:27:50 -0300
Message-ID: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql> (raw)
In-Reply-To: <CAEJ64tbz_rOWD+agky3i6rNiQPRUJacKB-hQAFNtd1ODZmQVBg@mail.gmail.com>

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




view thread (18+ messages)  latest in thread

Message-ID: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql>
Permalink:  ../20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@alvh.no-ip.org, travisallison@gmail.com, adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, floriparob@gmail.com, myon@debian.org
  Subject: Re: What generates pg_config.h?
  In-Reply-To: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql>
  References: <CAEJ64tbz_rOWD+agky3i6rNiQPRUJacKB-hQAFNtd1ODZmQVBg@mail.gmail.com> <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox