小编fiz*_*boz的帖子

ubuntu 11.04上的autoconf错误

我一直在谷歌搜索和安装库一段时间,但我无法用autoconf解决这个问题.

我已下载了一个我想编译的程序,做了一些更改,需要分别运行autogen.sh和./configure并make install.

但是,当我尝试运行autogen.sh时,我收到以下错误;

configure.ac:225: error: possibly undefined macro: AM_PATH_GTK_2_0
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Run Code Online (Sandbox Code Playgroud)

所以我继续,下载autoconf-2.68,automake-1.11,m4-1.4.16,并尝试了sudo apt-get install libgtk2.0-dev,其中没有一个改变了结果.当我尝试aclocal,我再次得到错误

configure.ac:225: warning: macro `AM_PATH_GTK_2_0' not found in library
Run Code Online (Sandbox Code Playgroud)

我现在卡住了,无处可去.所以我很高兴有任何建议.

linux gtk automake autoconf compilation

6
推荐指数
2
解决办法
8420
查看次数

标签 统计

autoconf ×1

automake ×1

compilation ×1

gtk ×1

linux ×1