1
我正在Kali Linux中尝试从源代码(https://github.com/gnss-sdr/gnss-sdr)生成gnss-sdr,并且出现以下出错信息。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-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。