pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: YUKI Hiroshi <yuki@clear-code.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14728: Missing "pg_config.h" in the "postgresql96-devel" package
Date: Tue, 4 Jul 2017 10:09:11 +0900
Message-ID: <419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com> (raw)
In-Reply-To: <a050bb66-c5c6-aef1-5021-cea64fc9daa3@clear-code.com>
References: <20170703085524.1465.22668@wrigleys.postgresql.org>
	<CAB7nPqTqE=PfeB5oykcUVBJHFR5zaC8nFEuEfmtZmvwAj7GmqQ@mail.gmail.com>
	<a050bb66-c5c6-aef1-5021-cea64fc9daa3@clear-code.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Oops,

 > # yum install
 > 
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rp...

Of course this URL is different for CentOS 6.9 i386. Actually I used 
correct URL for i386.


YUKI Hiroshi wrote:
> 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.rp...
> # 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,  <yuki@clear-code.com> 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.
>>
> 

-- 
結城 洋志 <YUKI Hiroshi>
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



view thread (7+ messages)  latest in thread

Message-ID: <419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com>
Permalink:  ../419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com/
Also on:    postgresql.org/message-id/419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com

 · 

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-bugs@postgresql.org
  Cc: yuki@clear-code.com, michael.paquier@gmail.com
  Subject: Re: BUG #14728: Missing "pg_config.h" in the "postgresql96-devel" package
  In-Reply-To: <419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com>
  References: <20170703085524.1465.22668@wrigleys.postgresql.org> <CAB7nPqTqE=PfeB5oykcUVBJHFR5zaC8nFEuEfmtZmvwAj7GmqQ@mail.gmail.com> <a050bb66-c5c6-aef1-5021-cea64fc9daa3@clear-code.com> <419e5f79-c1f1-51a2-3a13-12cef6394ddb@clear-code.com>

* 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