Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 11:47:44 +0100
From:      =?UTF-8?Q?ssue10t?= <ssue10t@o2.pl>
To:        bh0927.lee@samsung.com, freebsd-python@freebsd.org, ziggy@uci.edu, allysond@mcgrathpower.com
Subject:   =?UTF-8?Q?***?=
Message-ID:  <392a51a2.ddc47c2.50b5ebd0.86625@o2.pl>

next in thread | raw e-mail | index | archive | help
Every=20frozen=20yogurt=20store=20feels=20like=20you're=20hanging=20out=20=
inside=20a=20Japanese=20girl's=20backpack.http://calexandria10c.cu.cc/?KI=
MBERLY
From owner-freebsd-python@FreeBSD.ORG  Sat Dec  1 12:58:28 2012
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
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 2971AB3;
 Sat,  1 Dec 2012 12:58:28 +0000 (UTC)
 (envelope-from utisoft@gmail.com)
Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com
 [209.85.214.54])
 by mx1.freebsd.org (Postfix) with ESMTP id 48F778FC0C;
 Sat,  1 Dec 2012 12:58:26 +0000 (UTC)
Received: by mail-bk0-f54.google.com with SMTP id je9so632353bkc.13
 for <multiple recipients>; Sat, 01 Dec 2012 04:58:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type:content-transfer-encoding;
 bh=kNBrkdMQCiX/Y+qSMsese0oHioy75wc/X/kEKD/FWZI=;
 b=tRJjA1gbsFhDrrseu2Gg2ubiyQd+OoHjbINnPPDln8XKTKyD+WAHcWsddFvcMIDMsb
 sX55ZlSyOaQirUU/TASMOuqCX37nSbGKLn4KW0lCx/2vdS8ARclMFeWO+pO9byDcMlny
 eaw4Fjf0Izk86i9WN7ySeF9Pk3YCaaESEITy7/PWm1o2+rN7PLHbz6IaqpMEpRQWAZNy
 Kd9iuhELoxj0tRxFCidUH/zR//yZEyY4MMJGo/5VUdqeKIdic0htDSLZFwXSRILjgbXF
 7hwLatNc3bE3x+dMeVXfGbdYqf/6sMtyOzHRbjsty4Az+yhwIi+1le8Aoc3fIWe9ycIh
 7gSw==
Received: by 10.205.120.3 with SMTP id fw3mr1315907bkc.40.1354366706170; Sat,
 01 Dec 2012 04:58:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.204.167.71 with HTTP; Sat, 1 Dec 2012 04:57:55 -0800 (PST)
In-Reply-To: <50B4BF1C.4000300@yandex.ru>
References: <BLU0-SMTP242AA8861169A5DB62AE135D95E0@phx.gbl>
 <50B49EE5.2050100@FreeBSD.org> <50B4A07A.8040200@FreeBSD.org>
 <BLU0-SMTP299DA4781F34F3E1ADE4360D95E0@phx.gbl> <50B4B0D1.1000805@yandex.ru>
 <BLU0-SMTP234B5CF135796C2A282ABD8D95E0@phx.gbl> <50B4BF1C.4000300@yandex.ru>
From: Chris Rees <utisoft@gmail.com>
Date: Sat, 1 Dec 2012 12:57:55 +0000
Message-ID: <CADLo83_rZFFnY+ct2ene+B6J1CuAdLvXaRurDDZGZyWMv_h2wg@mail.gmail.com>
Subject: Re: Postgresql + Python
To: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: =?ISO-8859-1?Q?Rafael_Esp=EDndola?= <rafaelespindola@live.com>,
 Palle Girgensohn <girgen@freebsd.org>, "pgsql@freebsd.org" <pgsql@freebsd.org>,
 python <python@freebsd.org>
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>;
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Dec 2012 12:58:28 -0000

On 27 November 2012 13:24, Ruslan Mahmatkhanov <cvs-src@yandex.ru> wrote:
> Rafael Esp=EDndola wrote on 27.11.2012 16:29:
>
>> Well, if I'm not mistaken had tested "CONFIGURE_ARGS =3D - with-python''=
,
>> but had no success, but I could be mistaken. Anyway I did what I told yo=
u
>> earlier and it worked perfectly, and this I care ehheheh, I was afflicte=
d
>> 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=3Dpython3.2 in /etc/make.conf) and the buil=
d is
> indeed failed, but this way:
>
> cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-ar=
ith
> -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_Che=
ck'
> 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-ar=
ith
> -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 wor=
ks
> as expected. Any ideas? (Mostly asking Palle and pgsql@)
>

This seems that we need to build more of PostgreSQL before trying to
build -plpython.

I'll see which values need to be added to ${BUILD_DIRS} to make it compile!

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?392a51a2.ddc47c2.50b5ebd0.86625>