Re: configure fails for perl check on CentOS8
От | Andrew Dunstan |
---|---|
Тема | Re: configure fails for perl check on CentOS8 |
Дата | |
Msg-id | CAA8=A78azTWFgC6FZ+AWRt0-12DCAT43KPmr9__6WbvXXuDquQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: configure fails for perl check on CentOS8 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: configure fails for perl check on CentOS8
|
Список | pgsql-hackers |
On Wed, Oct 16, 2019 at 8:32 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes: > > On Tue, Oct 15, 2019 at 6:45 AM Kyotaro Horiguchi > > <horikyota.ntt@gmail.com> 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 that. > > I don't quite understand why that wouldn't work. > > >> By the way, is there any official way to specify options like -O0 > >> while configure time? > > > CFLAGS=-O0 configure --with-perl ... > > The way Horiguchi-san did it has been supported by autoconf for > a good long time now, so I don't think command line syntax is > the issue. Ah. > Could that CFLAGS setting be interfering with some > feature test in our configure script? > > It looks like you need CFLAGS='-O0 -fPIC' on CentOS 8 when building with perl. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: