From: | Dario Beraldi <dario(dot)beraldi(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(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:42:00 |
Message-ID: | CAEa0nG5=uuYseY4TAJeVhnm2R6aO5Dhg4vQkmXWhBEAUQqWovQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)klaver(at)aklaver(dot)com
>
From | Date | Subject | |
---|---|---|---|
Next Message | Rob Richardson | 2015-10-15 14:48:05 | Re: How can I use crosstab functons in PostgreSQL 9.3? |
Previous Message | Igor Stassiy | 2015-10-15 14:40:29 | Cast hstore type to bytea (and later to hex possibly) |