Re: installation of plpython2.7

Lists: pgsql-general
From: Mark Rostron <mrostron(at)ql2(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: installation of plpython2.7
Date: 2012-05-01 19:56:32
Message-ID: CAE=WP0pFrZS8XdiBpGQqhxY_EzYp1CisPrc5nX6ROGDRx1kPDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

hi
I want to install madlib into a postgresql9.1.3 installation.

i am trying to:
a) make python2.7
b) configure postgresql to point at the python2.7 working directory, and
c) install postgresql9.1.3 (using python2.7)

no success to date.

to date my steps have been:

1. configure/make python2.7 (no install) (into $HOME/python-2.7)
2. configure postgresql9.1, and set PYTHON_PATH to point at the python2.7
working directory
(i.e. $HOME/python-2.7)
3. for postgresql make, i used "make world" - per INSTALL text file in the
source home directory

However, this did not create a new python .so file in the postgresql lib
directory.

Looking for some assistance.
If there is anything i need to supply, pls advise.

mr


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Mark Rostron <mrostron(at)ql2(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: installation of plpython2.7
Date: 2012-05-02 03:50:38
Message-ID: 1335930638.27046.1.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On tis, 2012-05-01 at 12:56 -0700, Mark Rostron wrote:
> hi
> I want to install madlib into a postgresql9.1.3 installation.
>
>
> i am trying to:
> a) make python2.7
> b) configure postgresql to point at the python2.7 working directory,
> and
> c) install postgresql9.1.3 (using python2.7)

cd Python-2.7.3
./configure --prefix=SOMEWHERE
make
make install

cd postgresql-9.1.3
./configure ...other options... --with-python PYTHON=SOMEWHERE/bin/python
make
make install