Обсуждение: Testing against RHEL 8 Beta, python issue
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@rhel8 ~]$ which python3.6 /usr/bin/python3.6 Linking that does work then: [postgres@rhel8 ~]$ sudo ln -s /usr/bin/python3.6 /usr/bin/python make and make install run fine. This was a test from: [postgres@rhel8 postgresql]$ git branch * master Regards Daniel
Daniel Westermann <daniel.westermann@dbi-services.com> writes: > is this something the configure script needs to take care of? No. If your python is not named "python", you need to do something like configure --with-python PYTHON=python3.6 regards, tom lane
Thanks, Tom
Daniel Westermann writes: > is this something the configure script needs to take care of? No. If your python is not named "python", you need to do something like configure --with-python PYTHON=python3.6 regards, tom lane