GNU/Linux >> Linux の 問題 >  >> Cent OS

RHEL / CentOSでautoconfとautomakeをインストールまたは更新する方法は?

質問: 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

それだけです。


Cent OS
  1. RHEL / CentOSでautoconfとautomakeをインストールまたは更新する方法は?

  2. CentOS / RHEL 7 :telnet をインストールして構成する方法

  3. CentOS / RHEL に Samba をインストールして構成する方法

  1. RHEL 8 / CentOS8LinuxシステムにRをインストールして構成する方法

  2. CentOS/RHELおよびFedoraにPython3.5をインストールする方法

  3. CentOS/RHEL 7 および 8 に Mokutil パッケージをインストールする方法

  1. RHEL 8 /CentOS8にsambaをインストールして設定する方法

  2. CentOS 7 /RHEL7にoVirt4.0をインストールして構成する方法

  3. CentOS7およびRHEL7にJenkinsをインストールして構成する方法