无法安装 gobject-introspection - 符号查找错误:和未定义的符号:g_unicode_type_get_type
我尝试编译 Gtk4,并下载 gobject-introspection 1.30、1.40、1.50、1.64.1。除了最后一个产生另一个错误的错误之外,所有错误都失败了。
gobject-introspection 1.30、1.40、1.50 的错误,
CCLD _giscanner.la
ar: `u' modifier ignored since `D' is the default (see `U')
CC g_ir_compiler-compiler.o
CCLD g-ir-compiler
CC g_ir_generate-generate.o
CCLD g-ir-generate
CC g_ir_inspect-g-ir-inspect.o
CCLD g-ir-inspect
CC gi_dump_types-gdump.o
CC gi_dump_types-gi-dump-types.o
CCLD gi-dump-types
CC glib_print-glib-print.o
CCLD glib-print
GEN g-ir-scanner
GEN g-ir-annotation-tool
GEN g-ir-doc-tool
GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 736 warnings suppressed (use --warn-all to see them)
GISCAN GObject-2.0.gir
/home/elias/Downloads/gobject-introspection-1.50.0/tmp-introspectCppLzz/GObject-2.0: symbol lookup error: /home/elias/Downloads/gobject-introspection-1.50.0/tmp-introspectCppLzz/GObject-2.0: undefined symbol: g_unicode_type_get_type
Command '[u'/home/elias/Downloads/gobject-introspection-1.50.0/tmp-introspectCppLzz/GObject-2.0', u'--introspect-dump=/home/elias/Downloads/gobject-introspection-1.50.0/tmp-introspectCppLzz/functions.txt,/home/elias/Downloads/gobject-introspection-1.50.0/tmp-introspectCppLzz/dump.xml']' returned non-zero exit status 127
Makefile:3520: recipe for target 'GObject-2.0.gir' failed
make[2]: *** [GObject-2.0.gir] Error 1
make[2]: Leaving directory '/home/elias/Downloads/gobject-introspection-1.50.0'
Makefile:2810: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/elias/Downloads/gobject-introspection-1.50.0'
Makefile:1570: recipe for target 'all' failed
make: *** [all] Error 2