从 git 构建 libopus 时,如何解决有关 AM_PROG_LIBTOOL 的错误?

Eva*_*oll 26 build autoconf

我已经从 git下载了libopus并尝试构建它,但是我得到了,

Updating build configuration files, please wait....
configure.ac:38: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:38: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Run Code Online (Sandbox Code Playgroud)

如何解决此错误?

Eva*_*oll 41

您需要安装 libtool,它提供了必要的宏。在 Ubuntu 上,

apt-get install libtool
Run Code Online (Sandbox Code Playgroud)

  • 这为我在运行 FreeBSD 时解决了完全相同的问题。谢谢! (2认同)