Date: Tue, 27 Nov 2012 10:17:57 -0200 From: =?iso-8859-1?Q?Rafael_Esp=EDndola?= <rafaelespindola@live.com> To: Palle Girgensohn <girgen@FreeBSD.org> Cc: rm@FreeBSD.org, pgsql@FreeBSD.org, python@FreeBSD.org Subject: Re: Postgresql + Python Message-ID: <BLU0-SMTP299DA4781F34F3E1ADE4360D95E0@phx.gbl> In-Reply-To: <50B4A07A.8040200@FreeBSD.org> References: <BLU0-SMTP242AA8861169A5DB62AE135D95E0@phx.gbl> <50B49EE5.2050100@FreeBSD.org> <50B4A07A.8040200@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
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@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-----
>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP299DA4781F34F3E1ADE4360D95E0>
