configure glib

来源:互联网 发布:ios 网络加载动画 编辑:程序博客网 时间:2024/04/30 17:51
今天交叉编译GTK,GTK依赖于glib,atk,pango 等,在编译glib是configure 总是报错,说找不到 在 libintl库里找不到ngettext,明明已经编译进去了,后来只有将libintl 用较新的取代,这样就编译通过了。在查找 configure 报错是发现一下几个不错的文章。记录连接下来,以备不时之需。
 http://www.cnblogs.com/soli/archive/2008/01/14/1039010.html

http://www.ibm.com/developerworks/cn/linux/l-debcon/index.html

glib时如下报错的解决:
checking for glib-genmarshal... no
configure: error: Could not find a glib-genmarshal in your PATH

后来查找是因为缺少命令glib-genmarshal,由于我的交叉编译环境是scratch box 所以将本机的glib-genmarshal拷贝到相应的搜索路径下就可以了。

http://library.gnome.org/devel/gobject/unstable/glib-genmarshal.html
原创粉丝点击