【发布时间】:2020-04-27 08:57:28
【问题描述】:
在修改this source code 时,我从autoreconf 收到此错误:
$ autoreconf
configure.ac:240: warning: macro 'AM_PATH_GLIB_2_0' not found in library
configure.ac:246: warning: macro 'AM_PATH_GTK_2_0' not found in library
configure.ac:240: 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.
configure.ac:246: error: possibly undefined macro: AM_PATH_GTK_2_0
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure.ac 中的行是:
AM_PATH_GLIB_2_0([2.7.1], [ac_glib_test="yes"], [ac_glib_test="no"], [gthread])
这是我使用的 autoconf/automake 工具的版本问题,还是其他问题?
谢谢。
【问题讨论】:
-
你需要安装glib开发包
标签: c autoconf automake slurm autoreconf