From owner-freebsd-python@FreeBSD.ORG Tue Nov 27 13:25:07 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 71B8B466; Tue, 27 Nov 2012 13:25:07 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) by mx1.freebsd.org (Postfix) with ESMTP id BC0E88FC0C; Tue, 27 Nov 2012 13:25:06 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 337C01B21C41; Tue, 27 Nov 2012 17:25:04 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id A25CB13402AA; Tue, 27 Nov 2012 17:25:03 +0400 (MSK) Received: from unknown (unknown [77.66.155.61]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id P2NWaLkC-P2N4HerX; Tue, 27 Nov 2012 17:25:03 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1354022703; bh=GFlktwMr8ci1Ori5HV9kgXYUz+Dl7hWMj3DZSejnaAU=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=TbEjWQIo6Gsby/weEH3vKbneGUflu5/wxb51NlFqdD8yuyyaDQyKoa6LIJu9Ymy6M cH2am/LGh2WEPZ0r1oNtA7QYBMuE2yMJtSHGfmGrr3rFqo8JgT7XO0kYcSsE1LIAVv Ypi1nh4RfBj1pyU6ojZf4JDZDtumucQqCFMBqkvk= Message-ID: <50B4BF1C.4000300@yandex.ru> Date: Tue, 27 Nov 2012 17:24:44 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Rafael_Esp=EDndola?= Subject: Re: Postgresql + Python References: <50B49EE5.2050100@FreeBSD.org> <50B4A07A.8040200@FreeBSD.org> <50B4B0D1.1000805@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Palle Girgensohn , 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 13:25:07 -0000 Rafael Espíndola wrote on 27.11.2012 16:29: > Well, if I'm not mistaken had tested "CONFIGURE_ARGS = - with-python'', but had no success, but I could be mistaken. Anyway I did what I told you earlier and it worked perfectly, and this I care ehheheh, I was afflicted with it. > > I come once again thank the interest in helping, it is important for the FreeBSD project. I'm Brazilian, sorry for my English, or maybe I should say sorry for the English Google :) Just checked the build in my test environment (FreeBSD 9.0 i386, python 3.2.3, PYTHON_DEFAULT_VERSION=python3.2 in /etc/make.conf) and the build is indeed failed, but this way: cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fPIC -DPIC -I. -I/usr/local/include/python3.2mu -I../../../src/include -I/usr/local/include -I/usr/local/include -c -o plpython.o plpython.c plpython.c: In function 'PLy_procedure_call': plpython.c:1170: warning: passing argument 1 of 'PyEval_EvalCode' from incompatible pointer type plpython.c:1187: warning: null format string plpython.c: In function 'PLy_procedure_get': plpython.c:1321: warning: implicit declaration of function 'PyCObject_Check' plpython.c:1324: warning: implicit declaration of function 'PyCObject_AsVoidPtr' plpython.c:1324: warning: assignment makes pointer from integer without a cast plpython.c: In function 'PLy_procedure_create': plpython.c:1553: warning: implicit declaration of function 'PyCObject_FromVoidPtr' plpython.c:1553: warning: assignment makes pointer from integer without a cast plpython.c: In function 'PLy_spi_prepare': plpython.c:2925: warning: null format string plpython.c: In function 'PLy_spi_execute_plan': plpython.c:3076: warning: null format string plpython.c: In function 'PLy_spi_execute_query': plpython.c:3122: warning: null format string cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fPIC -DPIC -shared -o plpython3.so plpython.o -L../../../src/port -L/usr/local/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib/python3.2/config' -L/usr/local/lib/python3.2/config -lpython3.2 -lutil -lm /usr/bin/ld: --just-symbols may not be used on DSO: /usr/local/lib/python3.2/config gmake: *** [plpython3.so] Error 1 *** Error code 2 It worked before, and I'm not sure how to fix this one. Python2 build works as expected. Any ideas? (Mostly asking Palle and pgsql@) -- Regards, Ruslan Tinderboxing kills... the drives.