Re: Installing plpython3u

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dario Beraldi <dario(dot)beraldi(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Installing plpython3u
Date: 2015-10-15 13:46:19
Message-ID: 32681.1444916779@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dario Beraldi <dario(dot)beraldi(at)gmail(dot)com> writes:
> Thanks for your answer. Just checking before I screw things up... About
> "the source tree has to be configured and built twice", does it mean that I
> have to execute again

> ./configure --prefix=$HOME;
> make;
> make install

> And should I enable any particular option in ./configure? I see there is a
> "--with-python" option (not specific to python3 though).

Indeed --- you have not built any version of plpython here. You need
--with-python, and you need to make sure the PYTHON environment variable
is set (else you'll get whatever version is invoked by "python", which is
most likely python2). See the build instructions in the documentation.
Also watch the output from configure, which will show you which python
it selected.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message AI Rumman 2015-10-15 13:59:37 pgpool ssl handshake failure
Previous Message Dario Beraldi 2015-10-15 13:42:07 Re: Installing plpython3u