Re: Installing plpython3u - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Installing plpython3u
Date
Msg-id 561FBE42.3020406@aklaver.com
Whole thread Raw
In response to Re: Installing plpython3u  (Dario Beraldi <dario.beraldi@gmail.com>)
List pgsql-general
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:  CREATE EXTENSION "plpython3u";
>
>
>         Hmm, what files *do* you have in that directory
>
>
> Here's what I see:
>
> ls -l /data/sblab-home/berald01/share/postgresql/extension/
> total 12
> -rw-r--r-- 1 berald01 sblab 332 Oct 15 15:30 plpgsql--1.0.sql
> -rw-r--r-- 1 berald01 sblab 179 Oct 15 15:30 plpgsql.control
> -rw-r--r-- 1 berald01 sblab 381 Oct 15 15:30 plpgsql--unpackaged--1.0.sql
>
>     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 *should* be fine /Users/berald01 and /data/sblab-home/berald01 point
> to the same space. I.e. "ls  /Users/berald01" is the same as "ls
> /data/sblab-home/berald01"

Just for grins try:

ls -al /Users/berald01/share/postgresql/extension/

>
>
>         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 done for `install'.
>
> Any clue?
>
> (Thanks a ton for your assistance!)
>
>
>     --
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Ramesh T
Date:
Subject: Re: postgres function
Next
From: Joe Conway
Date:
Subject: Re: postgres function