installation of plpython2.7

Started by Mark Rostronalmost 14 years ago2 messagesgeneral
Jump to latest
#1Mark Rostron
mrostron@ql2.com

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Mark Rostron (#1)
Re: installation of plpython2.7

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