2016-06-16 6 views
0

私は少し助けています。私は加速度計を使ってArduinoからマウスを作成するための趣味プロジェクトに取り組んでいます。dfu-programmer 0.6.2 ./bootstrap.sh中のエラーメッセージ

これの一部として、atmega16u2のファームウェアを変更する必要があります。私はこれを行うためにMacを持っているので、私はdfuプログラマを使用しようとしています。

ターミナルで./bootstrap.shコマンドラインを使用すると、次のエラーメッセージが表示されます。私は、もし誰かが何を意味するのか、そして、これがプログラムが働くのを妨げるのであれば、誰かに光を当てることができるのだろうかと思いましたか?

DJ:dfu-programmer-0.6.2 hd334$ ./bootstrap.sh 
sh: autom4te: command not found 
aclocal: error: echo failed with exit status: 127 
./bootstrap.sh: line 3: autoheader: command not found 
sh: autoconf: command not found 
automake: error: autoconf failed with exit status: 127 
./bootstrap.sh: line 5: autoconf: command not found 
DJ:dfu-programmer-0.6.2 hd334$ 

答えて

0

あなたがdfu-programmerを実行する前にautom4teautoheaderautoconflibusb-compatlibusbをインストールする必要があります。

これらのすべてauto*は、autoconfパッケージに含まれています。 home-brewパッケージマネージャをインストールすることをお勧めします。これらは自動的に実行できます。リポジトリにはdfu-programmerパッケージがありますが、自動的にインストールすることもできます。 home-brewをインストールするには

  • 、あなたのターミナルで次のコマンドを実行します。

    を推奨
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
    
  • :あなたがしたい場合

    brew install dfu-programmer 
    
  • :その後、このコマンドでdfu-programmerをインストール前提条件のみをインストールするには、次のコマンドを実行します。

    brew install autoconf libusb libusb-compat 
    

    次に、再実行./bootstrap.sh

関連する問題