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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I just solve as follows, first of all I installed Python32, then changed = the Makefile Postgresql91 follows: CONFIGURE_ARGS + =3D - with-libraries =3D $ {PREFIX} / lib \ - with-includes =3D $ {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=EDndola Esp=EDndola Seguran=E7a da Informa=E7=E3o http://www.espindolasi.com.br (48) 3624-1217 (48) 9976-3015 Em 27/11/2012, =E0s 09:14, Palle Girgensohn <girgen@FreeBSD.org> = escreveu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > And do you have anything relevant in /etc/make.conf? >=20 > Palle Girgensohn skrev: >> Hi, >>=20 >> Do you have python3 installed? what happens when you type make -V=20 >> PYTHON_VER in the port's dir? >>=20 >> [/usr/ports/databases/postgresql-plpython]$ make -V PYTHON_VER 2.7 >>=20 >>=20 >> Rafael Esp=EDndola skrev: >>> Good morning dear, >>=20 >>> 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). >>=20 >>> I've tried a few ways to install Python3 with PostgreSQL, but=20 >>> without success, I can not install the library Python3 >>> (plpython3u). Can you help me, enlighten me? >>=20 >>> Thank you! >>=20 >>> -- Rafael da Silva Esp=EDndola Esp=EDndola Seguran=E7a da Informa=E7=E3= o=20 >>> http://www.espindolasi.com.br (48) 3624-1217 (48) 9976-3015 >>=20 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iQEcBAEBAgAGBQJQtKB6AAoJEIhV+7FrxBJD9MwIAJ3bOSth0rngtXYcqSfH5QI/ > EH4dKwfRLdqMlos8lNIfkb5netCHG5hds5kOwmRmdfY0gXkwG9eWMF9pVZVc0+00 > fW8F64QvvUBGJ0s1f+uZXCaba9rqEPtAhtfoy7j+5hmfrvoeRual8IJAQeZhYJVL > RXa/I0tq2wyXBqR5hktBYawdFVlW1bzyQKv0sDCHHjEt4zjBLb+MI/kRoCT/cpLN > O3tD0DpOP1DDToan4QYlePZ/2v8+I8c3xEWEdSIPKbIGZVpz16sLBJsUnfO+uAox > Y6it7sMhyFfMlzRNypCukvm3kpYC543gnemw1HzaQ84XvTIWpwpPO8EP9h/U42M=3D > =3D7FM2 > -----END PGP SIGNATURE----- >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP299DA4781F34F3E1ADE4360D95E0>