Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXYvd-00037Y-5H for pgsql-general@arkaria.postgresql.org; Fri, 05 Jan 2018 20:49:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXYvb-0006fC-At for pgsql-general@arkaria.postgresql.org; Fri, 05 Jan 2018 20:49:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXYvb-0006f2-3O for pgsql-general@lists.postgresql.org; Fri, 05 Jan 2018 20:49:23 +0000 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eXYvY-0003B6-PX for pgsql-general@postgresql.org; Fri, 05 Jan 2018 20:49:22 +0000 Received: by mail-qk0-x243.google.com with SMTP id 143so7490830qki.2 for ; Fri, 05 Jan 2018 12:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=p6SFlawkUMDD9BJpkdw+6GZ3ZM7siRz6PIT3r7J4kbE=; b=ljbbpfLEoIEAzONpzRBQTq2V4s0Vco/7RI+cyHbBAjnZpwwfCn/Q50Bk1QgpE1xxxF jbwsgkpwbcu4qVJq/a2J6c/Id3+BOYOGpQhVe/poIr6IkcJMcWCdx8STSKH16wUJrF/q 3+Uu5WkRrQBP1teUdua00SePaNbOJ0QttW3PNJsjrCQXEyrlFxqxP9xcYieptXPwPKLj OyNTLJn523nSf0QG967uPO6OC4YePxZKCIOGb6MrU+WcwSgqcshd+0nGMKlQtgst+VFS TqMrsJ7KTmICS5pt6Ck+u3O9mrzVCYku8S9GBLDYg3QRl8A4gjjaSJEISnjxcZ2irIys Z4gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=p6SFlawkUMDD9BJpkdw+6GZ3ZM7siRz6PIT3r7J4kbE=; b=PUlrb0vVesT+o+5UH3Fj79eRcPMXeTyLUhpOFSnFJ4uUUsa3U00PlWWb3lvt8sjyG5 +G8FrvVmZj1NwPo3V6p5Vo+0vmrF+y5mpS8t1XvfYU5r5VBxupJjvczy95RJHfkFD4Vn Ekp0vE2oFysc+H+zp1DYg69lASZNfPbSQrtzYNomFVWjlNXG5dYdz8DfiPGYu7lo3Y3+ fpLfVHvN6qHU1SqtyIzKTE3M/H98GI7PFNphtMrezUWIeEdcUvqwfEsqZfbvX5NIr0Yx erCbx8lj2mBeFDd21loGVEQ55qcK+D0LqSMktuwMkvpwjTaiDJJ38XpnzpGwH3/ni6Iv I+QA== X-Gm-Message-State: AKwxytf6QgEjLOthLervTrOWKO/EdU/ytQlP8dEHGSCV9LskRDuiVRGA Uz7bZqW7pJAtkM6edU5tsRI= X-Google-Smtp-Source: ACJfBoueYjoMTNljOHx7QXnLvuTsu4qZXK6fKcn8UVgtEvoArUWd0KBPLKaCrPHFDbxvF2U7wBMvMQ== X-Received: by 10.55.135.5 with SMTP id j5mr5588709qkd.20.1515185359143; Fri, 05 Jan 2018 12:49:19 -0800 (PST) Received: from roblaptop ([189.122.176.235]) by smtp.gmail.com with ESMTPSA id l52sm4048503qtc.43.2018.01.05.12.49.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jan 2018 12:49:18 -0800 (PST) Message-ID: <1515185353.3035.23.camel@gmail.com> Subject: Re: What generates pg_config.h? From: rob stone To: Adrian Klaver , Travis Allison Cc: pgsql-general@postgresql.org Date: Sat, 06 Jan 2018 07:49:13 +1100 In-Reply-To: <73171ca3-7747-9f8d-380a-2e4b70444c6e@aklaver.com> References: <59902831-ba5d-6fb9-8db8-a074c08e8106@aklaver.com> <73171ca3-7747-9f8d-380a-2e4b70444c6e@aklaver.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, On Fri, 2018-01-05 at 12:19 -0800, 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, > > where I followed the instructions from this site: > > https://www.postgresql.org/download/linux/ubuntu/ > > > > I also have an anaconda installation of postgresql, but that is a > > version less than 9.6. > > > > Here are the results for postgresql using dpkg-query -l > > Well somehow a Postgres 10 version of pg_config.h got installed. > Is there an instance of Postgres 10 running? > > > > > ii postgresql 9.5+173 > > all > > object-relational SQL database (supported > > version) > > ii postgresql-9.5 9.5.3- > > 0ubuntu0.16.04 > > amd64 object-relational SQL database, version > > 9.5 server > > ii postgresql-9.6 9.6.5-1.pgdg16.04+2 > > amd64 object-relational SQL database, version > > 9.6 > > server > > ii postgresql-client-9.5 9.5.3- > > 0ubuntu0.16.04 > > amd64 front-end programs for PostgreSQL 9.5 > > ii postgresql-client-9.6 9.6.5-1.pgdg16.04+2 > > amd64 front-end programs for PostgreSQL 9.6 > > ii postgresql-client-common 173 > > all > > manager for multiple PostgreSQL client > > versions > > ii postgresql-common 173 > > all > > PostgreSQL database-cluster manager > > ii postgresql-contrib-9.5 9.5.3- > > 0ubuntu0.16.04 > > amd64 additional facilities for PostgreSQL > > ii postgresql-contrib-9.6 9.6.5-1.pgdg16.04+2 > > amd64 additional facilities for PostgreSQL > > ii postgresql-server-dev-9.5 9.5.3- > > 0ubuntu0.16.04 > > amd64 development files for PostgreSQL 9.5 > > server-side programming > > ii postgresql-server-dev-9.6 9.6.5-1.pgdg16.04+2 > > amd64 development files for PostgreSQL 9.6 > > server-side programming > > > > > > > Shouldn't the OP check the libpq-dev libraries as well? Not an expert. My two cents. Rob