我正在尝试安装val差制,看起来好像./configure在configure: error: Valgrind works on kernels 2.4, 2.6上失败了。
这是否意味着我必须安装一个新内核?我使用的Linux是大学课程所必需的,所以我不愿意从根本上修改它。
还有别的办法可以绕开吗?
下面是输出的其余部分:
adminuser @ ~/valgrind-3.6.1 --> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for ar... /usr/bin/ar
checking for perl... /usr/bin/perl
checking for gdb... /usr/bin/gdb
checking dependency style of gcc... gcc3
checking for diff -u... yes
checking for a supported version of gcc... ok (4.8.2)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... no
checking for a 32-bit only build... no
checking for a supported OS... ok (linux-gnu)
checking for the kernel version... unsupported (3.13.0-39-generic)
configure: error: Valgrind works on kernels 2.4, 2.6发布于 2015-02-07 12:54:57
这个问题似乎已在Valching3.7.0及更高版本中得到修正。如果您没有任何特殊的理由使用这样一个旧版本的Val差伦,您可能应该使用当前版本(3.10.1)。
https://askubuntu.com/questions/582736
复制相似问题