首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >aclocal的版本不匹配

aclocal的版本不匹配
EN

Stack Overflow用户
提问于 2016-09-22 04:06:49
回答 1查看 1.3K关注 0票数 0

我在Kali Linux中工作,试图从源代码(https://github.com/gnss-sdr/gnss-sdr)构建gnss-sdr,我得到了以下make错误。

代码语言:javascript
复制
/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
root@kali:~/gpspoof/gnss-sdr/build# aclocal
aclocal       aclocal-1.15  

我已经安装了aclocal-1.15,我觉得我需要修复错误消息中提到的aclocal.m4文件。我在那个aclocal.m4文件中编辑了aclocal的版本号,这给了我一个关于automake的不同错误。

代码语言:javascript
复制
root@kali:~/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。

EN

回答 1

Stack Overflow用户

发布于 2016-09-22 08:59:32

解决方案是使用aclocal文件在错误中提到的目录中运行aclocal、autoconf、automake、make --distclean。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39625663

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档