configure.ac:151: warning: macro 'AM_PATH_GLIB_2_0' not foun

各种窗口管理器和美化相关
回复
magee1208
帖子: 9
注册时间: 2014-12-03 13:13
系统: 13.13

configure.ac:151: warning: macro 'AM_PATH_GLIB_2_0' not foun

#1

帖子 magee1208 » 2014-12-04 10:25

编译cinnamon时我执行:./autogen时提示的信息。
网上说是libglib没装好。

sudo apt-get install libglib2.0-0

sudo apt-get install libglib2.0-dev


但是我的系统提示已经安装好了最新版本:
libglib2.0-0:i386 2.40.0-2

Running intltoolize...
Running aclocal...
configure.ac:151: warning: macro 'AM_PATH_GLIB_2_0' not found in library
Running autoconf...
configure.ac:151: error: possibly undefined macro: AM_PATH_GLIB_2_0
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
请问有什么解决方法吗?
这是vi configur.ac 的信息

# Sets GLIB_GENMARSHAL and GLIB_MKENUMS
AM_PATH_GLIB_2_0()
G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
AC_SUBST(G_IR_SCANNER)
G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
magee1208
帖子: 9
注册时间: 2014-12-03 13:13
系统: 13.13

Re: configure.ac:151: warning: macro 'AM_PATH_GLIB_2_0' not

#2

帖子 magee1208 » 2014-12-05 14:19

没有人用过cinnamon吗?
miniduan
帖子: 1
注册时间: 2016-03-31 10:50
系统: ubuntu

Re: configure.ac:151: warning: macro 'AM_PATH_GLIB_2_0' not

#3

帖子 miniduan » 2016-03-31 10:52

请执行以下命令:
sudo apt-get install libgtk2.0-dev

如果还有错,then install libglib2.0-dev as well:
sudo apt-get install libglib2.0-dev
回复