【发布时间】:2013-03-20 04:06:10
【问题描述】:
我正在尝试在我的服务器上安装 ffmpeg。我取消了 centos 5。
当我尝试安装 libfdk_aac 时出现以下错误
` autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
Makefile.am:31:
Makefile.am:31: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:31: to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
autoreconf: automake failed with exit status: 1 `
如果我键入哪个 libtool,我会得到 /usr/bin/libtool,所以我认为 libtool 已安装。 所以我不确定为什么会发生这个错误。
感谢您的建议
【问题讨论】:
-
在 ubuntu 下这一行为我修复了它:apt-get install libtool
-
尝试先在该目录中运行
libtoolize,然后重新运行autoreconf。 -
关于术语的注释。如果您正在运行
autoreconf,那么您所做的不仅仅是尝试“安装”ffmpeg。您正在尝试构建整个包,而不仅仅是从预先构建的包构建和安装。