Search Postgresql Archives

Re: What generates pg_config.h?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux