Re: Installing plpython3u

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

On 10/15/2015 07:16 AM, Tom Lane wrote:
> Dario Beraldi <dario(dot)beraldi(at)gmail(dot)com> 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 get:
>
>> 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?

There seems to be a discrepancy in paths:

ERROR: could not open extension control file
"/data/sblab-home/berald01/share/postgresql/extension/plpython3u.control"

configure_args=' '\''--prefix=/Users/berald01'\''

So is there something mapping /Users/berald01 to /data/sblab-home/ ?

>
> It might be worth cd'ing into the src/pl/plpython subdirectory and
> manually doing "make install" there to see what it prints.
>
> regards, tom lane
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Clarke 2015-10-15 14:30:51 Re: How can I use crosstab functons in PostgreSQL 9.3?
Previous Message Tom Lane 2015-10-15 14:19:13 Re: How can I use crosstab functons in PostgreSQL 9.3?