Thread: Install plpython

Install plpython

From
Josué Maldonado
Date:
Hello list,

First of all excuse me if this question is so obvius, I have not found
the info I need on this.

I installed pg 7.4.1 from source, now I need to add plpython lang,
should I have to make a full reinstall and recompile with plpython
switch or is there a another way to "add" the lang to the current pg
installation.

Thanks in advance
"Todos somos fragmentos no sólo del hombre en general, sino de nosotros
mismos." Georg Simmel. Filósofo alemán.
--
Sinceramente,
Josué Maldonado.


Re: Install plpython

From
Bruno Wolff III
Date:
On Sat, Apr 24, 2004 at 13:38:13 -0600,
  Josué Maldonado <josue@lamundial.hn> wrote:
> Hello list,
>
> First of all excuse me if this question is so obvius, I have not found
> the info I need on this.
>
> I installed pg 7.4.1 from source, now I need to add plpython lang,
> should I have to make a full reinstall and recompile with plpython
> switch or is there a another way to "add" the lang to the current pg
> installation.

Run:
createlang plpythonu

Re: Install plpython

From
Josué Maldonado
Date:
Hello Bruno and thanks for your response,

El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
> Run:
> createlang plpythonu

I got this error:
createlang: language installation failed: ERROR:  could not access file
"$libdir/plpython": No such file or directory

I'm new to python, I guess this is not related to pg maybe to the python
installation.

--
Sinceramente,
Josué Maldonado.
"Hay dos días sobre los que nadie debería preocuparse nunca, y son ayer
y mañana." -- Robert J. Burdette.

Re: Install plpython

From
Alvaro Herrera
Date:
On Mon, Apr 26, 2004 at 09:02:50AM -0600, Josué Maldonado wrote:
> Hello Bruno and thanks for your response,
>
> El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
> >Run:
> >createlang plpythonu
>
> I got this error:
> createlang: language installation failed: ERROR:  could not access file
> "$libdir/plpython": No such file or directory

I think you have to give the --with-python option to configure.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.