質問: Yasmをサポートするffmpegをインストールしていましたが、その間 autoconfを使用する必要があります CentOS6.6で構成スクリプトを生成します。残念ながら、 autoconf コマンドが失敗し、エラーメッセージが表示されました。Autoconfバージョン2.60以降が必要です。 以下は完全なエラーメッセージです:
$ autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 m4/po.m4:20: error: Autoconf version 2.60 or higher is required m4/po.m4:20: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: autom4te failed with exit status: 63 autoreconf: aclocal failed with exit status: 63
解決策:
エラーメッセージにあるように、 autoconfの上位バージョンをインストールする必要があります 。 yum update autoconfを試しました 、しかし、autoconfはすでに更新されているので応答しました(おそらく、最新のautoconfを持つYUMリポジトリを見つける必要があります)。とにかく、私はソースからAutoconf2.69をインストールすることで問題を解決しました。これが私がしたことです:
$ wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz $ gunzip autoconf-2.69.tar.gz $ tar xvf autoconf-2.69.tar $ cd autoconf-2.69 $ ./configure $ make $ make install
autoconfのバージョンを確認してください:
$ autoconf --version autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc.
automakeのダウンロードとインストール:
$ wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz $ tar xvzf automake-1.14.tar.gz $ cd automake-1.14 $ ./configure $ make $ sudo make install
$ which automake /usr/local/bin/automake
automakeのバージョンを確認してください:
$ automake --version automake (GNU automake) 1.9.6
それだけです。