Postgresql + Python

Rafael Espíndola rafaelespindola at live.com
Tue Nov 27 12:18:04 UTC 2012


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-python

Added the - with-python, worked perfectly, installed the library "plpython3u", I appreciate your interest in helping, this is very good. A hug!

--
Rafael da Silva Espíndola
Espíndola Segurança da Informação
http://www.espindolasi.com.br
(48) 3624-1217
(48) 9976-3015

Em 27/11/2012, às 09:14, Palle Girgensohn <girgen at FreeBSD.org> escreveu:

> -----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_VER 2.7
>> 
>> 
>> Rafael Espíndola skrev:
>>> 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.0.10 + Python 2.7, so I have only supported
>>> libraries python2 (plpythonu and plpython2u).
>> 
>>> I've tried a few ways to install Python3 with PostgreSQL, but 
>>> without success, I can not install the library Python3
>>> (plpython3u). Can you help me, enlighten me?
>> 
>>> Thank you!
>> 
>>> -- Rafael da Silva Espíndola Espíndola Segurança da Informação 
>>> http://www.espindolasi.com.br (48) 3624-1217 (48) 9976-3015
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJQtKB6AAoJEIhV+7FrxBJD9MwIAJ3bOSth0rngtXYcqSfH5QI/
> EH4dKwfRLdqMlos8lNIfkb5netCHG5hds5kOwmRmdfY0gXkwG9eWMF9pVZVc0+00
> fW8F64QvvUBGJ0s1f+uZXCaba9rqEPtAhtfoy7j+5hmfrvoeRual8IJAQeZhYJVL
> RXa/I0tq2wyXBqR5hktBYawdFVlW1bzyQKv0sDCHHjEt4zjBLb+MI/kRoCT/cpLN
> O3tD0DpOP1DDToan4QYlePZ/2v8+I8c3xEWEdSIPKbIGZVpz16sLBJsUnfO+uAox
> Y6it7sMhyFfMlzRNypCukvm3kpYC543gnemw1HzaQ84XvTIWpwpPO8EP9h/U42M=
> =7FM2
> -----END PGP SIGNATURE-----
> 



More information about the freebsd-python mailing list