Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
On 15 October 2015 at 16:29, Dario Beraldi wrote: > > > > > > On 15 October 2015 at 16:23, Tom Lane wrote: > >> Dario Beraldi writes: >> >> It might be worth cd'ing into the src/pl/plpython subdirectory and >> >> manually doing "make install" there to see what it prints. >> >> > Here we go: >>

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
On 15 October 2015 at 16:23, Tom Lane wrote: > Dario Beraldi writes: > >> It might be worth cd'ing into the src/pl/plpython subdirectory and > >> manually doing "make install" there to see what it prints. > > > Here we go: > > cd > > > /data/sblab-home/berald01/applications/postgresql/postgresql

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Tom Lane
Dario Beraldi writes: >> It might be worth cd'ing into the src/pl/plpython subdirectory and >> manually doing "make install" there to see what it prints. > Here we go: > cd > /data/sblab-home/berald01/applications/postgresql/postgresql-9.3.5/src/pl/plpython > make install > make: Nothing to be do

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Adrian Klaver
On 10/15/2015 07:49 AM, Dario Beraldi wrote: It might be worth cd'ing into the src/pl/plpython subdirectory and manually doing "make install" there to see what it prints. By the way, that's what I see in src/pl/plpython: So it does not look like it actually ran the make, I s

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Adrian Klaver
On 10/15/2015 07:42 AM, Dario Beraldi wrote: createlang plpython3u sblab ERROR: could not open extension control file "/data/sblab-home/berald01/share/postgresql/extension/plpython3u.control": No such file or directory STATEMENT: CRE

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
> > It might be worth cd'ing into the src/pl/plpython subdirectory and >> manually doing "make install" there to see what it prints. >> >> >> By the way, that's what I see in src/pl/plpython: ls -l /data/sblab-home/berald01/applications/postgresql/postgresql-9.3.5/src/pl/plpython total 292 drwxrwx

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
> createlang plpython3u sblab >>> ERROR: could not open extension control file >>> >>> "/data/sblab-home/berald01/share/postgresql/extension/plpython3u.control": >>> No such file or directory >>> STATEMENT: CREATE EXTENSION "plpython3u"; >>> >> >> Hmm, what files *do* you have in that directory >

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Adrian Klaver
On 10/15/2015 07:16 AM, Tom Lane wrote: Dario Beraldi writes: Sorry guys... I executed ./configure --prefix=$HOME --with-python PYTHON=/usr/local/bin/python3 make make install That looks sane from here ... and it completed fine (see also below output from 'grep -i 'PYTHON' config.log').

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Tom Lane
Dario Beraldi writes: > Sorry guys... I executed > ./configure --prefix=$HOME --with-python PYTHON=/usr/local/bin/python3 > make > make install That looks sane from here ... > and it completed fine (see also below output from 'grep -i 'PYTHON' > config.log'). Still after restarting postgres I g

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
On 15 October 2015 at 14:46, Tom Lane wrote: > Dario Beraldi 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;

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Tom Lane
Dario Beraldi 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 i

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
Hi Adrian, 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 ther

Re: [GENERAL] Installing plpython3u

2015-10-15 Thread Adrian Klaver
On 10/15/2015 03:21 AM, Dario Beraldi wrote: Hello, I'm having problems installing plpython3u, this is my situation: I have installed postgresql-9.3.5 in my home directory, from source. I used (from my memory, it might not be exact) ./configure --prefix=$HOME; make; make install Now I need to

[GENERAL] Installing plpython3u

2015-10-15 Thread Dario Beraldi
Hello, I'm having problems installing plpython3u, this is my situation: I have installed postgresql-9.3.5 in my home directory, from source. I used (from my memory, it might not be exact) ./configure --prefix=$HOME; make; make install Now I need to upload a database which requires plpython3u, an