On 10/15/2015 07:16 AM, Tom Lane wrote:
> Dario Beraldi <dario.beraldi@gmail.com> writes:
>> Sorry guys... I executed
>
>> ./configure --prefix=$HOME --with-python PYTHON=/usr/local/bin/python3
>> make
>> make install
>
> That looks sane from here ...
>
>> and it completed fine (see also below output from 'grep -i 'PYTHON'
>> config.log'). Still after restarting postgres I get:
>
>> 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?
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 might be worth cd'ing into the src/pl/plpython subdirectory and
> manually doing "make install" there to see what it prints.
>
> regards, tom lane
>
--
Adrian Klaver
adrian.klaver@aklaver.com