Re: Installing plpython3u

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

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2015-10-15 15:03:58 Re: postgres function
Previous Message Dario Beraldi 2015-10-15 14:49:37 Re: Installing plpython3u