UCS4 in python 2.6 broken
Dominic Fandrey
kamikaze at bsdforen.de
Fri Feb 20 10:45:23 PST 2009
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.
More information about the freebsd-python
mailing list