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@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>
-- Adrian Klaver adrian.klaver@xxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general