Re: Postgresql + Python

2012-12-01 Thread Chris Rees
On 1 December 2012 12:57, Chris Rees wrote: > On 27 November 2012 13:24, Ruslan Mahmatkhanov wrote: >> Rafael Espíndola wrote on 27.11.2012 16:29: >> >>> Well, if I'm not mistaken had tested "CONFIGURE_ARGS = - with-python'', >>> but had no success, but I could be mistaken. Anyway I did what I to

Re: Postgresql + Python

2012-12-01 Thread Chris Rees
On 27 November 2012 13:24, Ruslan Mahmatkhanov wrote: > Rafael Espíndola wrote on 27.11.2012 16:29: > >> Well, if I'm not mistaken had tested "CONFIGURE_ARGS = - with-python'', >> but had no success, but I could be mistaken. Anyway I did what I told you >> earlier and it worked perfectly, and this

Re: Postgresql + Python

2012-11-27 Thread Ruslan Mahmatkhanov
Rafael Espíndola wrote on 27.11.2012 16:29: Well, if I'm not mistaken had tested "CONFIGURE_ARGS = - with-python'', but had no success, but I could be mistaken. Anyway I did what I told you earlier and it worked perfectly, and this I care ehheheh, I was afflicted with it. I come once again tha

Re: Postgresql + Python

2012-11-27 Thread Rafael Espíndola
Well, if I'm not mistaken had tested "CONFIGURE_ARGS = - with-python'', but had no success, but I could be mistaken. Anyway I did what I told you earlier and it worked perfectly, and this I care ehheheh, I was afflicted with it. I come once again thank the interest in helping, it is important fo

Re: Postgresql + Python

2012-11-27 Thread Ruslan Mahmatkhanov
Rafael Espíndola wrote on 27.11.2012 16:17: Hi, I just solve as follows, first of all I installed Python32, then changed the Makefile Postgresql91 follows: CONFIGURE_ARGS + = - with-libraries = $ {PREFIX} / lib \ - with-includes = $ {PREFIX} / include \ - en

Re: Postgresql + Python

2012-11-27 Thread Palle Girgensohn
It seems that the port does something wrong when installing with python 3. I'll have to check it out. 27 nov 2012 kl. 12:30 skrev Rafael Espíndola : > My problem is this: > > ERROR: could not access file "$ libdir/plpython3": No such file or directory > STATEMENT: CREATE LANGUAGE "plpython3u";

Re: Postgresql + Python

2012-11-27 Thread Rafael Espíndola
Hi, I just solve as follows, first of all I installed Python32, then changed the Makefile Postgresql91 follows: CONFIGURE_ARGS + = - with-libraries = $ {PREFIX} / lib \ - with-includes = $ {PREFIX} / include \ - enable-thread-safety \ - with-pyt

Re: Postgresql + Python

2012-11-27 Thread Rafael Espíndola
My problem is this: ERROR: could not access file "$ libdir/plpython3": No such file or directory STATEMENT: CREATE LANGUAGE "plpython3u"; With the library "plpythonu" and "plpython2u", this does not happen! -- Rafael da Silva Espíndola Espíndola Segurança da Informação http://www.espindolasi.com

Re: Postgresql + Python

2012-11-27 Thread Rafael Espíndola
I have nothing, I just had a test done in make.conf putting the default version of Python as a 3, so at the time of installation of "databases / postgresql-plpython" he installed version 3.2 instead of 2.7, the anyway missed the libraries when it installs in version 2.7 it installs the libraries

Re: Postgresql + Python

2012-11-27 Thread Rafael Espíndola
Hi, follows: Test # make-V ​​PYTHON_VER 3.2 As you can see I'm with Python3 installed, but if I give in the installation sequence (postgresql-plpython), it does not install the library "plpython3u," I'm going to do this test again now ... What do you say friend? -- Rafael da Silva Espíndola

Re: Postgresql + Python

2012-11-27 Thread Palle Girgensohn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And do you have anything relevant in /etc/make.conf? Palle Girgensohn skrev: > Hi, > > Do you have python3 installed? what happens when you type make -V > PYTHON_VER in the port's dir? > > [/usr/ports/databases/postgresql-plpython]$ make -V PYTHON_

Re: Postgresql + Python

2012-11-27 Thread Palle Girgensohn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Do you have python3 installed? what happens when you type make -V PYTHON_VER in the port's dir? [/usr/ports/databases/postgresql-plpython]$ make -V PYTHON_VER 2.7 Rafael Espíndola skrev: > Good morning dear, > > I'm having a problem and can no

Postgresql + Python

2012-11-27 Thread Rafael Espíndola
Good morning dear, I'm having a problem and can not find a solution, if you can help me I'll be very grateful. My problem is regarding the installation of PostgreSQL with support Python3, I'm doing the installation through the ports (databases / postgresql-plpython), but it installs PostgreSQL9