Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2009 19:45:03 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        "Eric L. Chen" <lihong@ieee.org>
Cc:        python@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: UCS4 in python 2.6 broken
Message-ID:  <499EFA2F.90900@bsdforen.de>
In-Reply-To: <1235003314.1629.1.camel@localhost>
References:  <499BCF8E.5030805@bsdforen.de> <1235003314.1629.1.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <module>
>>     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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499EFA2F.90900>