From owner-freebsd-python@FreeBSD.ORG Tue Nov 27 12:18:04 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FA0718E; Tue, 27 Nov 2012 12:18:04 +0000 (UTC) (envelope-from rafaelespindola@live.com) Received: from blu0-omc3-s24.blu0.hotmail.com (blu0-omc3-s24.blu0.hotmail.com [65.55.116.99]) by mx1.freebsd.org (Postfix) with ESMTP id 428FB8FC0C; Tue, 27 Nov 2012 12:18:04 +0000 (UTC) Received: from BLU0-SMTP299 ([65.55.116.74]) by blu0-omc3-s24.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 27 Nov 2012 04:18:02 -0800 X-Originating-IP: [187.55.254.58] X-EIP: [12OrGKzpDPe9wYdhFvomceeLMTa/9Ccd] X-Originating-Email: [rafaelespindola@live.com] Message-ID: Received: from [192.168.1.19] ([187.55.254.58]) by BLU0-SMTP299.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 27 Nov 2012 04:18:01 -0800 MIME-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Postgresql + Python From: =?iso-8859-1?Q?Rafael_Esp=EDndola?= In-Reply-To: <50B4A07A.8040200@FreeBSD.org> Date: Tue, 27 Nov 2012 10:17:57 -0200 References: <50B49EE5.2050100@FreeBSD.org> <50B4A07A.8040200@FreeBSD.org> To: Palle Girgensohn X-Mailer: Apple Mail (2.1499) X-OriginalArrivalTime: 27 Nov 2012 12:18:01.0967 (UTC) FILETIME=[3ED2AFF0:01CDCC99] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: rm@FreeBSD.org, pgsql@FreeBSD.org, python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 12:18:04 -0000 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 = 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