LoginSignup
2
1

More than 5 years have passed since last update.

最新のm4なのに、最新のが必要と怒られる…

Posted at

autom4te: need GNU m4 1.4 or later: /usr/bin/m4

bitcoinをgithubから落として、/autogen.shでビルドしようといたら以下のエラーが……

autom4te: need GNU m4 1.4 or later: /usr/bin/m4
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

まず、一番上のエラーを検索するものの、「autoconfぶっ壊れてるから、もいちどインストールすれば治るよ」とか書いてあって、

brew rm autoconfしてbrew install autoconf

するんだけど、変化無く。
調べる順番が間違えたな思いつつ今更

m4 --version

してみるとこんなエラー。

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

あ、Xcodeの方のあれか、とhttps://qiita.com/ARTS_papa/items/60ba305b23dc967bba87 の見よう見まねで

xcode-select --install

してみたら、問題無く動いた。
そんなお話でした。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1