Re: Time to drop plpython2?

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: Time to drop plpython2?
Дата
Msg-id
e6575f7c-6e8c-1d9e-d961-8d5ebefe9cbb@joeconway.com
Ответ на
Список
Дерево обсуждения
Time to drop plpython2? Andres Freund <andres@anarazel.de>
Re: Time to drop plpython2? Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Time to drop plpython2? Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Time to drop plpython2? Andres Freund <andres@anarazel.de>
Re: Time to drop plpython2? Tom Lane <tgl@sss.pgh.pa.us>
Re: Time to drop plpython2? Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Time to drop plpython2? Tom Lane <tgl@sss.pgh.pa.us>
Re: Time to drop plpython2? Andrew Dunstan <andrew@dunslane.net>
Re: Time to drop plpython2? Andrew Dunstan <andrew@dunslane.net>
Re: Time to drop plpython2? Tom Lane <tgl@sss.pgh.pa.us>
Re: Time to drop plpython2? Andres Freund <andres@anarazel.de>
Re: Time to drop plpython2? Thomas Munro <thomas.munro@gmail.com>
On 2/18/22 15:25, Andres Freund wrote:
> On 2022-02-18 14:46:39 -0500, Joe Conway wrote:
>> $ ll /usr/bin/python
>> lrwxrwxrwx. 1 root root 7 Mar 13  2021 /usr/bin/python -> python2
>> 8<-------------------
> 
> Yea, that all looks fine. What's the problem if you don't specify the
> PYTHON=python3? We try python3, python in that order by default, so it should
> pick up the same python3 you specify explicitly?

Initially I just installed the python3 RPMs and when I tried running 
manually it was still error'ing on configure due to finding python2.

Even after adding EXPORT PYTHON=python3 to my ~/.bash_profile I was 
seeing the same.

By adding PYTHON => 'python3' to build-farm.conf I saw that the error 
changed to indicate missing python3-devel package. Once I installed 
that, everything went green.

Joe

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Peter Geoghegan
Дата:
FAQ