From owner-freebsd-python@FreeBSD.ORG Sun Feb 27 14:47:40 2011 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 713D9106566B; Sun, 27 Feb 2011 14:47:40 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 111708FC0C; Sun, 27 Feb 2011 14:47:39 +0000 (UTC) Received: by qyk27 with SMTP id 27so2525060qyk.13 for ; Sun, 27 Feb 2011 06:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=O6Ieb9EdJFb4HxzllIRI3hnZuDqUzmgogm5ENcSlkR0=; b=dz84eIQR9G3U0cC+8NUhkbOphfppwWCv/nIBHzD8XWlV6cUaNUOWxI29OfyGq0up6z kIDKSUZkoWyXu1DJUZCqid0lZ84nPhI/LOeKKSETgUQLWlRHE/3Q1ISRzsM1SKb1FBt6 TYdfwKd22GMb12V1RjKIsuy5QVY/otVm0t8YI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=dGN4cTRGUBi8RE5HscauOkES/2UCUsNolwWQl8WXp3WMBRD8lQP7eMGfw3CXPgnt4t c4gixkm1EACX7Sl5Q48ZAI13tWRJwfSgrG/Z51GjD5IM+bw0w9cQj5jTgWoQIxczsVgd Sploq5ofu17NcXofXsetQN5FEzFOaGLIQuUdw= MIME-Version: 1.0 Received: by 10.229.96.132 with SMTP id h4mr3438639qcn.41.1298816641592; Sun, 27 Feb 2011 06:24:01 -0800 (PST) Sender: lwhsu.freebsd@gmail.com Received: by 10.229.41.148 with HTTP; Sun, 27 Feb 2011 06:24:01 -0800 (PST) In-Reply-To: <20110227071507.GA1599@gl.novel.int> References: <20110227071507.GA1599@gl.novel.int> Date: Sun, 27 Feb 2011 22:24:01 +0800 X-Google-Sender-Auth: AXMY7zOvKXPcDttvVfi_hCmgO0I Message-ID: From: Li-Wen Hsu To: Roman Bogorodskiy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-python@freebsd.org Subject: Re: lang/python32 build error when WITHOUT_UCS4 defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 14:47:40 -0000 On Sun, Feb 27, 2011 at 15:15, Roman Bogorodskiy wrote: > Hello, > > Tried to build fresh lang/python32 today and it fails when configured > without UCS4 support: > > =3D=3D=3D> =C2=A0Building for python32-3.2.0_1 > 444" make libpython3.2mu.so python; =C2=A0/bin/ln -f libpython3.2mu.so > libpython3.2mu.so.1; =C2=A0/bin/ln -f python python-shared3.2 > make: don't know how to make libpython3.2mu.so. Stop > *** Error code 2 > > Stop in /usr/home/novel/ports_stuff/python32. > *** Error code 1 > > It builds fine when omitting WITHOUT_UCS4 though. > > Tested on 8.2-PRERELEASE amd64. > This is because when WITHOUT_UCS4 is defined, the shared library name will become "libpython3.2m.so" Please refer to [1], which also be discussed recently. I'm working on a patch for supporting these options. [1] http://docs.python.org/py3k/whatsnew/3.2.html#pep-3149-abi-version-tagg= ed-so-files --=20 Li-Wen Hsu http://lwhsu.org