From owner-freebsd-ports@FreeBSD.ORG Fri Feb 20 18:45:21 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1714910656E3; Fri, 20 Feb 2009 18:45:21 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5228FC18; Fri, 20 Feb 2009 18:45:19 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.48.144]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 43B718A0113; Fri, 20 Feb 2009 19:45:16 +0100 (CET) Message-ID: <499EFA2F.90900@bsdforen.de> Date: Fri, 20 Feb 2009 19:45:03 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: "Eric L. Chen" References: <499BCF8E.5030805@bsdforen.de> <1235003314.1629.1.camel@localhost> In-Reply-To: <1235003314.1629.1.camel@localhost> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: python@freebsd.org, freebsd-ports@freebsd.org Subject: Re: UCS4 in python 2.6 broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 18:45:23 -0000 Eric L. Chen wrote: > On Wed, 2009-02-18 at 10:06 +0100, Dominic Fandrey wrote: >> I'm running sonata with Python 2.6, or rather I used to: >> >> File "/usr/local/lib/python2.6/site-packages/gtk-2.0/glib/__init__.py", line 30, in >> from glib._glib import * >> ImportError: /usr/local/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyUnicodeUCS4_DecodeUTF8" >> >> The python26 port is configured correctly: >> # cd /usr/ports/lang/python26 >> # make -VWITH_UCS4 >> true >> # > Try reinstall py26-gobject-2.16.0 py26-cairo-1.8.2, > # portmaster py26-gobject-2.16.0 py26-cairo-1.8.2 > > /Eric Better someone fix that: .if !defined(WITHOUT_UCS4) && !defined(WITH_UCS2) CONFIGURE_ARGS-= --enable-unicode=ucs4 .endif This is from lang/pyhton26/Makefile += would be appropriate I assume. At least that fixes the problems on my system.