【エラー】ラズベリーパイで「autoreconf: コマンドが見つかりません」と表示される

スポンサーリンク

コンテンツ

エラー時の様子

pi@raspberrypi:~/jo $ autoreconf -i
-bash: autoreconf: コマンドが見つかりません

対策

autoreconfコマンドを含むソフトウェアをラズベリーパイ2にインストールします。以下のコマンドを実行するとOKです!

sudo apt-get install dh-autoreconf

対策時の様子

対策をするとき、以下のようになります。参考にご利用ください!

sudo apt-get install dh-autoreconf
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  autoconf automake libltdl-dev libtool m4
提案パッケージ:
  autoconf-archive gnu-standards autoconf-doc libtool-doc automaken gcj-jdk
以下のパッケージが新たにインストールされます:
  autoconf automake dh-autoreconf libltdl-dev libtool m4
アップグレード: 0 個、新規インストール: 6 個、削除: 0 個、保留: 148 個。
1,664 kB のアーカイブを取得する必要があります。
この操作後に追加で 5,711 kB のディスク容量が消費されます。
続行しますか? [Y/n] Y
取得:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main m4 armhf 1.4.17-4 [238 kB]
取得:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main autoconf all 2.69-8 [340 kB]
取得:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main automake all 1:1.14.1-4 [725 kB]
取得:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libtool all 2.4.2-1.11 [190 kB]
取得:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main dh-autoreconf all 10 [15.2 kB]
取得:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libltdl-dev armhf 2.4.2-1.11 [155 kB]
1,664 kB を 2秒 で取得しました (581 kB/s)
以前に未選択のパッケージ m4 を選択しています。
(データベースを読み込んでいます ... 現在 172363 個のファイルとディレクトリがインストールされています。)
.../archives/m4_1.4.17-4_armhf.deb を展開する準備をしています ...
m4 (1.4.17-4) を展開しています...
以前に未選択のパッケージ autoconf を選択しています。
.../autoconf_2.69-8_all.deb を展開する準備をしています ...
autoconf (2.69-8) を展開しています...
以前に未選択のパッケージ automake を選択しています。
.../automake_1%3a1.14.1-4_all.deb を展開する準備をしています ...
automake (1:1.14.1-4) を展開しています...
以前に未選択のパッケージ libtool を選択しています。
.../libtool_2.4.2-1.11_all.deb を展開する準備をしています ...
libtool (2.4.2-1.11) を展開しています...
以前に未選択のパッケージ dh-autoreconf を選択しています。
.../dh-autoreconf_10_all.deb を展開する準備をしています ...
dh-autoreconf (10) を展開しています...
以前に未選択のパッケージ libltdl-dev:armhf を選択しています。
.../libltdl-dev_2.4.2-1.11_armhf.deb を展開する準備をしています ...
libltdl-dev:armhf (2.4.2-1.11) を展開しています...
install-info (5.2.0.dfsg.1-6) のトリガを処理しています ...
man-db (2.7.0.2-5) のトリガを処理しています ...
m4 (1.4.17-4) を設定しています ...
autoconf (2.69-8) を設定しています ...
automake (1:1.14.1-4) を設定しています ...
update-alternatives: /usr/bin/automake (automake) を提供するために自動モードで /usr/bin/automake-1.14 を使います
libtool (2.4.2-1.11) を設定しています ...
dh-autoreconf (10) を設定しています ...
libltdl-dev:armhf (2.4.2-1.11) を設定しています ...