2016-09-21 18 views
1

私はKali Linuxでソース(https://github.com/gnss-sdr/gnss-sdr)からgnss-sdrをビルドしようとしていますが、次のようなエラーが発生しています。私はaclocalの-1.15をインストールしているaclocalのバージョンが一致しません

/bin/bash: aclocal-1.14: command not found 
Makefile:957: recipe for target '/root/gpspoof/gnss-sdr/thirdparty/glog/glog-0.3.4/aclocal.m4' failed 
make[3]: *** [/root/gpspoof/gnss-sdr/thirdparty/glog/glog-0.3.4/aclocal.m4] Error 127 
CMakeFiles/glog-0.3.4.dir/build.make:111: recipe for target 'glog-0.3.4/src/glog-0.3.4-stamp/glog-0.3.4-build' failed 
make[2]: *** [glog-0.3.4/src/glog-0.3.4-stamp/glog-0.3.4-build] Error 2 
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/glog-0.3.4.dir/all' failed 
make[1]: *** [CMakeFiles/glog-0.3.4.dir/all] Error 2 
Makefile:138: recipe for target 'all' failed 
make: *** [all] Error 2 
[email protected]:~/gpspoof/gnss-sdr/build# aclocal 
aclocal  aclocal-1.15 

、私は、エラーメッセージで述べてaclocal.m4ファイルを修正する必要がある印象の下です。 aclocal.m4ファイルのaclocalのバージョン番号を編集しました。これはautomakeに関する別のエラーを出しました。

[email protected]:~/gpspoof/gnss-sdr/build# make 
[ 1%] Performing build step for 'glog-0.3.4' 
cd /root/gpspoof/gnss-sdr/thirdparty/glog/glog-0.3.4 && automake-1.14 --gnu 
/bin/bash: line 4: automake-1.14: command not found 
Makefile:928: recipe for target '/root/gpspoof/gnss-sdr/thirdparty/glog/glog-0.3.4/Makefile.in' failed 
make[3]: *** [/root/gpspoof/gnss-sdr/thirdparty/glog/glog-0.3.4/Makefile.in] Error 1 
CMakeFiles/glog-0.3.4.dir/build.make:111: recipe for target 'glog-0.3.4/src/glog-0.3.4-stamp/glog-0.3.4-build' failed 
make[2]: *** [glog-0.3.4/src/glog-0.3.4-stamp/glog-0.3.4-build] Error 2 
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/glog-0.3.4.dir/all' failed 
make[1]: *** [CMakeFiles/glog-0.3.4.dir/all] Error 2 
Makefile:138: recipe for target 'all' failed 
make: *** [all] Error 2 

また、私がインストールしたautomakeのバージョンは1.15です。

答えて

1

解決策は、aclocalファイルのエラーに記載されているディレクトリにaclocal、autoconf、automake、make --distcleanを実行することでした。

関連する問題