aclocal的版本不匹配

时间:2016-09-21 20:06:49

标签: linux autotools automake

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

0:000> bl
0:000> bp strbp!func "$$>a< strbpcond.txt"
0:000> bl
 0 e 00171260     0001 (0001)  0:**** strbp!func "$$>a< strbpcond.txt"
0:000> g
ModLoad: 72670000 72673000   C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
0   goat
0   dog
0   sheep
0   cat
0   lion
1   tiger
eax=00000005 ebx=7ffd7000 ecx=00000005 edx=001ac1e0 esi=001b6678 edi=001b667c
eip=00171260 esp=002bfa54 ebp=002bfa90 iopl=0         nv up ei ng nz ac po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000293
strbp!func:
00171260 55              push    ebp
0:000> dv
              h = 0x001ac1f8 "this"
              i = 0x001ac1f4 "is"
              j = 0x001ac1f0 "a"
              k = 0x001ac1e0 "tiger"

我安装了aclocal-1.15,我的印象是我需要修复错误消息中提到的aclocal.m4文件。我在aclocal.m4文件中编辑了aclocal的版本号,这给了我一个关于automake的错误。

/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  

我安装的automake版本再次是1.15。

1 个答案:

答案 0 :(得分:2)

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