Re: configure fails for perl check on CentOS8

2019-10-22 Thread Kyotaro Horiguchi
Hello. At Mon, 21 Oct 2019 08:29:39 -0400, Andrew Dunstan wrote in > > On 10/20/19 7:36 PM, Tom Lane wrote: > > Andrew Dunstan writes: > >> On 10/20/19 1:23 PM, Tom Lane wrote: > >>> The right way to fix it, likely, is to add CFLAGS_SL while performing this > >>> particular autoconf test, as

Re: configure fails for perl check on CentOS8

2019-10-21 Thread Andrew Dunstan
On 10/20/19 7:36 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 10/20/19 1:23 PM, Tom Lane wrote: >>> The right way to fix it, likely, is to add CFLAGS_SL while performing this >>> particular autoconf test, as that would replicate the switches used for >>> plperl (and it turns out that addin

Re: configure fails for perl check on CentOS8

2019-10-20 Thread Tom Lane
Andrew Dunstan writes: > On 10/20/19 1:23 PM, Tom Lane wrote: >> The right way to fix it, likely, is to add CFLAGS_SL while performing this >> particular autoconf test, as that would replicate the switches used for >> plperl (and it turns out that adding -fPIC does solve this problem). >> But the

Re: configure fails for perl check on CentOS8

2019-10-20 Thread Andrew Dunstan
On 10/20/19 1:23 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 10/18/19 9:50 AM, Tom Lane wrote: >>> Can we fix this by using something other than perl_alloc() as >>> the tested-for function? That is surely a pretty arbitrary >>> choice. Are there any standard Perl entry points that are j

Re: configure fails for perl check on CentOS8

2019-10-20 Thread Tom Lane
Andrew Dunstan writes: > On 10/18/19 9:50 AM, Tom Lane wrote: >> Can we fix this by using something other than perl_alloc() as >> the tested-for function? That is surely a pretty arbitrary >> choice. Are there any standard Perl entry points that are just >> plain functions with no weird macro ex

Re: configure fails for perl check on CentOS8

2019-10-19 Thread Andrew Dunstan
On 10/18/19 9:50 AM, Tom Lane wrote: > Kyotaro Horiguchi writes: >> The immediately problematic command generated by autoconf is: >> ... >> /usr/bin/ld: /tmp/ccGxodNv.o: relocation R_X86_64_32 against symbol >> `PL_memory_wrap' can not be used when making a PIE object; recompile with >> -fPIC

Re: configure fails for perl check on CentOS8

2019-10-18 Thread Tom Lane
Kyotaro Horiguchi writes: > The immediately problematic command generated by autoconf is: > ... > /usr/bin/ld: /tmp/ccGxodNv.o: relocation R_X86_64_32 against symbol > `PL_memory_wrap' can not be used when making a PIE object; recompile with > -fPIC > /usr/bin/ld: final link failed: Nonrepresent

Re: configure fails for perl check on CentOS8

2019-10-16 Thread Kyotaro Horiguchi
Hello. # I'm almost comming back.. At Wed, 16 Oct 2019 10:41:19 -0400, Andrew Dunstan wrote in > On Wed, Oct 16, 2019 at 8:32 AM Tom Lane wrote: > > >> $ ./configure --with-perl CFLAGS=-O0 > > >> It is bash-aliased and survived without being found for a long time on > > >> my Cent7 environmen

Re: configure fails for perl check on CentOS8

2019-10-16 Thread Andrew Dunstan
On Wed, Oct 16, 2019 at 8:32 AM Tom Lane wrote: > > Andrew Dunstan writes: > > On Tue, Oct 15, 2019 at 6:45 AM Kyotaro Horiguchi > > wrote: > >> The problematic command line boils down to: > >> $ ./configure --with-perl CFLAGS=-O0 > >> It is bash-aliased and survived without being found for a lo

Re: configure fails for perl check on CentOS8

2019-10-16 Thread Tom Lane
Andrew Dunstan writes: > On Tue, Oct 15, 2019 at 6:45 AM Kyotaro Horiguchi > wrote: >> The problematic command line boils down to: >> $ ./configure --with-perl CFLAGS=-O0 >> It is bash-aliased and survived without being found for a long time on >> my Cent7 environment, but CentOS8 doesn't allow t

Re: configure fails for perl check on CentOS8

2019-10-16 Thread Andrew Dunstan
On Tue, Oct 15, 2019 at 6:45 AM Kyotaro Horiguchi wrote: > > > > Is this error perhaps occurring with a non-vendor Perl installation? > > What's the exact error message? config.log might contain some useful > > clues, too. > > The perl package is official one. I found the cause, that's my > mist

Re: configure fails for perl check on CentOS8

2019-10-15 Thread Kyotaro Horiguchi
Hi. Sorry for the delay. At Thu, 10 Oct 2019 11:51:21 -0400, Tom Lane wrote in > Andrew Dunstan writes: > > On 10/10/19 1:46 AM, Kyotaro Horiguchi wrote: > >> Hello, While I'm moving to CentOS8 environment, I got stuck at > >> ./configure with the following error. > >> configure: error: libperl

Re: configure fails for perl check on CentOS8

2019-10-10 Thread Tom Lane
Andrew Dunstan writes: > On 10/10/19 1:46 AM, Kyotaro Horiguchi wrote: >> Hello, While I'm moving to CentOS8 environment, I got stuck at >> ./configure with the following error. >> configure: error: libperl library is requred for Perl >> It complains that it needs -fPIC. >> Configure uses only $Co

Re: configure fails for perl check on CentOS8

2019-10-10 Thread Andrew Dunstan
On 10/10/19 1:46 AM, Kyotaro Horiguchi wrote: > Hello, While I'm moving to CentOS8 environment, I got stuck at > ./configure with the following error. > > configure: error: libperl library is requred for Perl > > It complains that it needs -fPIC. > > Configure uses only $Config{ccflags}, but it s