error: when cross compiling GObject Introspection

         today i try to cross compile GObject Introspection for building gtk+3.0 on linux, but an error happened like this,so what can i do next? can you give me some advice,thanks.
root@tft-Lenovo:/usr/local/src/gobject-introspection-0.6.14/gir# make
  GISCAN GLib-2.0.gir
Traceback (most recent call last):
  File "../tools/g-ir-scanner", line 38, in <module>
  File "/usr/local/src/gobject-introspection-0.6.14/giscanner/", line 248, in scanner_main
    from giscanner.girwriter import GIRWriter as Writer
  File "/usr/local/src/gobject-introspection-0.6.14/giscanner/", line 30, in <module>
    from .xmlwriter import XMLWriter
  File "/usr/local/src/gobject-introspection-0.6.14/giscanner/", line 70, in <module>
    with LibtoolImporter:
AttributeError: __exit__
make: *** [GLib-2.0.gir] Error 1

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]