Re: Installing plpython3u - Mailing list pgsql-general

From Dario Beraldi
Subject Re: Installing plpython3u
Date
Msg-id CAEa0nG5=uuYseY4TAJeVhnm2R6aO5Dhg4vQkmXWhBEAUQqWovQ@mail.gmail.com
Whole thread Raw
In response to Re: Installing plpython3u  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Installing plpython3u
Re: Installing plpython3u
List pgsql-general

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"
 

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

pgsql-general by date:

Previous
From: Igor Stassiy
Date:
Subject: Cast hstore type to bytea (and later to hex possibly)
Next
From: Rob Richardson
Date:
Subject: Re: How can I use crosstab functons in PostgreSQL 9.3?