【发布时间】:2011-12-09 23:41:04
【问题描述】:
我一直在谷歌搜索和安装库,但我无法用 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.
所以我继续下载了 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
我现在被困住了,无处可去。所以我很高兴有任何建议。
【问题讨论】:
标签: linux compilation gtk autoconf automake