What generates pg_config.h?

2018-01-05 Thread Travis Allison
Hi, I have postgres 9.5 and 9.6 installed. pg_config points to 9.6. I am trying to compile a postgresql plugin (Timescaledb). I am getting an error: --- /usr/include/postgresql/pg_config.h:733:0: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VE

Re: What generates pg_config.h?

2018-01-05 Thread Travis Allison
development files for PostgreSQL 9.6 server-side programming On Fri, Jan 5, 2018 at 10:24 AM, Adrian Klaver wrote: > On 01/05/2018 09:07 AM, Travis Allison wrote: > >> Hi, >> >> I have postgres 9.5 and 9.6 installed. pg_config points to 9.6. >> I am trying

Re: What generates pg_config.h?

2018-01-05 Thread Travis Allison
prit. Any suggestions on what to do next? On Fri, Jan 5, 2018 at 12:19 PM, Adrian Klaver wrote: > On 01/05/2018 11:57 AM, Travis Allison wrote: > >> Distro and version: Ubuntu 16.04 LTS. >> >> If memory serves, I installed 9.5 using synaptic and 9.6 using apt-get, >>

Re: What generates pg_config.h?

2018-01-05 Thread Travis Allison
Tom, where's the -l switch exactly? What command is it attached to? (I'm not sure what to look for.) Thanks, Travis On Fri, Jan 5, 2018 at 2:56 PM, Tom Lane wrote: > Alvaro Herrera writes: > > Travis Allison wrote: > >> No instance of Postgres 10 running. I took

Re: What generates pg_config.h?

2018-01-05 Thread Travis Allison
018 03:29 PM, Tom Lane wrote: > >> Travis Allison writes: >> >>> Tom, where's the -l switch exactly? What command is it attached to? (I'm >>> not sure what to look for.) >>> >> >> Look into the extension's Makefile for something ro

Re: What generates pg_config.h?

2018-01-05 Thread Travis Allison
type of client code are you referring to? What is the point of having a pg_config.h for a server that I am not even running? Travis On Fri, Jan 5, 2018 at 8:05 PM, Tom Lane wrote: > Travis Allison writes: > > I suppose an easy workaround is to copy my version 9.6 pg_config.h into

Re: What generates pg_config.h?

2018-01-06 Thread Travis Allison
I wanted to thank all of you for solving my problem. You have all been unbelievably helpful! Travis On Sat, Jan 6, 2018 at 7:42 AM, Christoph Berg wrote: > Re: Adrian Klaver 2018-01-06 <67591f85-a910-2e0b-1fdd- > 9c774eacd...@aklaver.com> > > The problem you are running into is that the build