为什么我会收到 autoconf AC_* 宏错误?

为什么我会收到 autoconf AC_* 宏错误?

我正在尝试构建这个语言建模工具包,但在尝试设置它时遇到了这个问题。我试图了解错误的含义,以及我应该怎么做才能修复它,我不明白,因为我刚刚安装了自动工具,但现在我遇到了这个问题,它似乎是其中之一。

USER@WH:~/irstlm-5.70.04$ ./regenerate-makefiles.sh 
Calling  
Calling /usr/bin/aclocal...
Calling /usr/bin/autoconf...
configure.in:18: error: possibly undefined macro: AC_DISABLE_SHARED
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure.in:19: error: possibly undefined macro: AC_PROG_LIBTOOL
autoconf failed

答案1

发现问题了,显然我的文件不在正确的目录中,导致这个问题发生。

相关内容