Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSCJQ-00032C-M9 for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jul 2017 01:07:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dSCJQ-0003LK-8X for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jul 2017 01:07:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSCJP-0003J2-Ip for pgsql-bugs@postgresql.org; Tue, 04 Jul 2017 01:07:31 +0000 Received: from mail.clear-code.com ([219.94.234.64]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSCJM-0003ij-Eu for pgsql-bugs@postgresql.org; Tue, 04 Jul 2017 01:07:30 +0000 Received: from [192.168.10.22] (27.84.111.219.dy.bbexcite.jp [219.111.84.27]) by mail.clear-code.com (Postfix) with ESMTPSA id 7BF74E0163; Tue, 4 Jul 2017 10:07:25 +0900 (JST) Subject: Re: BUG #14728: Missing "pg_config.h" in the "postgresql96-devel" package To: Michael Paquier Cc: PostgreSQL mailing lists References: <20170703085524.1465.22668@wrigleys.postgresql.org> From: YUKI Hiroshi Message-ID: Date: Tue, 4 Jul 2017 10:07:25 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hello, >> A header file "pg_co]nfig.h" is missing in directories both >> "/usr/pgsql-9.6/include/" and "/usr/pgsql-9.6/include/server/". > > Are you sure that you installed postgresql-devel? I recall that CentOS > has that to allow compilation of modules. If the package "postgresql96-devel" equals to the one you said, yes. Full steps to reproduce on my clean CentOS virtual box: $ su # yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm # yum install postgresql96 # yum install postgresql96-server # service postgresql-9.6 initdb # chkconfig postgresql-9.6 on # service postgresql-9.6 start # yum install postgresql96-devel # yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm # yum install -y --enablerepo=epel groonga-devel # wget https://packages.groonga.org/source/pgroonga/pgroonga-1.2.3.tar.gz # tar xvf pgroonga-1.2.3.tar.gz # cd pgroonga-1.2.3 # PATH=/usr/pgsql-9.6/bin:$PATH make I tried thiese steps on both CentOS 6.9 x86_64 (64bit): https://app.vagrantup.com/centos/boxes/6 and CentOS 6.9 i386 (32bit): https://app.vagrantup.com/bento/boxes/centos-6.9-i386 Then, the result is: * x86_64 => succeeded with existign pg_config.h * i386 => failed with missing pg_config.h Or, do you mean that I must install "postgresql-devel" even if "postgresql96-devel" is already installed? regards, Michael Paquier wrote: > On Mon, Jul 3, 2017 at 5:55 PM, wrote: >> When I build a software "pgroonga" from its source, it fails on CentOS 6.9 >> i386 (32bit) environment. On CentOS 6.9 x86_64, this problem doesn't >> happen. > > This is not a bug of PostgreSQL itself. > >> A header file "pg_co]nfig.h" is missing in directories both >> "/usr/pgsql-9.6/include/" and "/usr/pgsql-9.6/include/server/". > > Are you sure that you installed postgresql-devel? I recall that CentOS > has that to allow compilation of modules. > -- 結城 洋志 E-mail: yuki@clear-code.com 株式会社クリアコード 〒170-0005 東京都豊島区南大塚3-29-9 中野ビル3階 TEL : 03-5927-9440 FAX : 03-5927-9441 WWW : http://www.clear-code.com/ -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs