configure: error: pkg-config and "glib-2.0 >= 2.16" not found, please set GLIB_CFLAGS and GLIB_LIBS

来源:互联网 发布:连尚网络wifi万能钥匙 编辑:程序博客网 时间:2024/05/17 23:04

 

configure: error: pkg-config and "glib-2.0 >= 2.16" not found, please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure

解决办法:

 

# ./autogen.sh --with-internal-glib
 
或者
 
# ./configure --with-internal-glib
 
http://www.freedesktop.org/wiki/Software/pkg-config
http://stackoverflow.com/questions/12262925/linux-glib-needs-pkg-config-and-pkg-config-needs-glib

 

 

 

原创粉丝点击