当前位置: 技术问答>linux和unix
搭建arm-gtk环境,atk编译出错g-ir-scanner: error,是什么问题?
来源: 互联网 发布时间:2017-03-05
本文导语: config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/home/gtk/atk-1.91...
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/gtk/atk-1.91.92'
Making all in atk
make[2]: Entering directory `/home/gtk/atk-1.91.92/atk'
GEN s-enum-types-h
GEN s-enum-types-c
make all-am
make[3]: Entering directory `/home/gtk/atk-1.91.92/atk'
GISCAN Atk-1.0.gir
Usage: g-ir-scanner [options] sources
g-ir-scanner: error: no such option: --warn-all
make[3]: *** [Atk-1.0.gir] 错误 2
make[3]: Leaving directory `/home/gtk/atk-1.91.92/atk'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/gtk/atk-1.91.92/atk'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/gtk/atk-1.91.92'
make: *** [all] 错误 2
在配置选项里面
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
改成下面的
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable= gobject-introspection-1.0`
配置都无法通过
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/gtk/atk-1.91.92'
Making all in atk
make[2]: Entering directory `/home/gtk/atk-1.91.92/atk'
GEN s-enum-types-h
GEN s-enum-types-c
make all-am
make[3]: Entering directory `/home/gtk/atk-1.91.92/atk'
GISCAN Atk-1.0.gir
Usage: g-ir-scanner [options] sources
g-ir-scanner: error: no such option: --warn-all
make[3]: *** [Atk-1.0.gir] 错误 2
make[3]: Leaving directory `/home/gtk/atk-1.91.92/atk'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/gtk/atk-1.91.92/atk'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/gtk/atk-1.91.92'
make: *** [all] 错误 2
在配置选项里面
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
改成下面的
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable= gobject-introspection-1.0`
配置都无法通过
|
g-ir-scanner: error: no such option: --warn-all
这个可能是版本太低了。
这个可能是版本太低了。