On 06/19/2013 09:54 AM, lux-integ wrote: > Greetings > > I am trying to install polkit-0.110 on a machine with these:- > dual-core amd64 > gcc-4.8.1 > gobject-introspection-1.36.0 > > . Make ends like so > #--------------------- > CCLD libpolkit-gobject-1.la > GISCAN Polkit-1.0.gir > Traceback (most recent call last): > File "/usr/bin/g-ir-scanner", line 44, in <module> > from giscanner.scannermain import scanner_main > File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 34, in > <module> > from giscanner.dumper import compile_introspection_binary > File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 28, in > <module> > from .gdumpparser import IntrospectionBinary > File "/usr/lib/gobject-introspection/giscanner/gdumpparser.py", line 31, in > <module> > from .transformer import TransformerException > File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 27, in > <module> > from .girparser import GIRParser > File "/usr/lib/gobject-introspection/giscanner/girparser.py", line 26, in > <module> > from .girwriter import COMPATIBLE_GIR_VERSION > File "/usr/lib/gobject-introspection/giscanner/girwriter.py", line 25, in > <module> > from .xmlwriter import XMLWriter > File "/usr/lib/gobject-introspection/giscanner/xmlwriter.py", line 93, in > <module> > from giscanner._giscanner import collect_attributes > ImportError: /usr/lib/gobject-introspection/giscanner/_giscanner.so: > undefined > symbol: PyUnicodeUCS4_DecodeUTF8 > make[4]: *** [Polkit-1.0.gir] Error 1 > make[4]: Leaving directory `/home/dokli/polkit-0.110/src/polkit' > make[3]: *** [all] Error 2 > #--------------------- > I had the same result with polkit-0.111. The problem seems to be related to > the new version of gobject-introspection I am using. > > I looked throug ./configure ---help and the only switch relating to gobject > is to disable it. And since I went through great lengths to install gobject- > intospection as a polkit dependency I do not want to disable it. > > > > advice would be appreciated > sincerely > luxInteg >
Did you recompile python after you've built gobject-introspection? It looks like it has been built without --enable-unicode=ucs4 switch when the g-i was built, but it was recompiled later using it. Just recompiling g-i against new python should fix it. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
