Testing against RHEL 8 Beta, python issue

From: Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Testing against RHEL 8 Beta, python issue
Date: 2018-11-17 14:40:14
Message-ID: AM4PR0901MB13466C5CAC0C05D50B1FEEE5D2DE0@AM4PR0901MB1346.eurprd09.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi %,

is this something the configure script needs to take care of?

checking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for CFLAGS to compile embedded Perl...
checking for flags to link embedded Perl...  -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib  -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc
checking for python... no
configure: error: Python not found

Python in RHEL 8 Beta is:

[postgres(at)rhel8 ~]$ which python3.6
/usr/bin/python3.6

Linking that does work then:
[postgres(at)rhel8 ~]$ sudo ln -s /usr/bin/python3.6 /usr/bin/python

make and make install run fine. This was a test from:

[postgres(at)rhel8 postgresql]$ git branch
* master

Regards
Daniel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-11-17 14:55:39 Re: pg_dumpall --exclude-database option
Previous Message Fabien COELHO 2018-11-17 14:36:55 Re: fix psql \conninfo & \connect when using hostaddr