From owner-freebsd-python@FreeBSD.ORG Tue Nov 27 12:18:20 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 E50F21AC; Tue, 27 Nov 2012 12:18:20 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 951468FC13; Tue, 27 Nov 2012 12:18:20 +0000 (UTC) Received: from [10.52.252.129] (host-95-199-220-129.mobileonline.telia.com [95.199.220.129]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id 60DAD104DF; Tue, 27 Nov 2012 13:18:17 +0100 (CET) References: <50B49EE5.2050100@FreeBSD.org> <50B4A07A.8040200@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10A523) From: Palle Girgensohn Subject: Re: Postgresql + Python Date: Tue, 27 Nov 2012 13:18:12 +0100 To: =?utf-8?Q?Rafael_Esp=C3=ADndola?= Cc: Palle Girgensohn , "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:21 -0000 It seems that the port does something wrong when installing with python 3. I= 'll have to check it out.=20 27 nov 2012 kl. 12:30 skrev Rafael Esp=C3=ADndola = : > My problem is this: >=20 > ERROR: could not access file "$ libdir/plpython3": No such file or directo= ry > STATEMENT: CREATE LANGUAGE "plpython3u"; >=20 > With the library "plpythonu" and "plpython2u", this does not happen! >=20 > -- > Rafael da Silva Esp=C3=ADndola > Esp=C3=ADndola Seguran=C3=A7a da Informa=C3=A7=C3=A3o > http://www.espindolasi.com.br > (48) 3624-1217 > (48) 9976-3015 >=20 > Em 27/11/2012, =C3=A0s 09:14, Palle Girgensohn escrev= eu: >=20 >> -----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=C3=ADndola 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=C3=ADndola Esp=C3=ADndola Seguran=C3=A7a da Info= rma=C3=A7=C3=A3o=20 >>>> 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/ >>=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