Ubuntu GCC版本错误,GCC版本正确

Ubuntu GCC版本错误,GCC版本正确,ubuntu,gcc,g++,Ubuntu,Gcc,G++,我在安装过程中遇到以下错误: Using HPHP_HOME == /home/dev/hhvm -- CMAKE_PREFIX_PATH was missing, proceeding anyway CMake Warning at CMake/HPHPSetup.cmake:47 (message): chrpath not found, rpath will not be stripped from installed binaries Call Stack (most recent

我在安装过程中遇到以下错误:

Using HPHP_HOME == /home/dev/hhvm
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Warning at CMake/HPHPSetup.cmake:47 (message):
  chrpath not found, rpath will not be stripped from installed binaries
Call Stack (most recent call first):
  hphp/CMakeLists.txt:18 (include)


CMake Error at CMake/HPHPCompiler.cmake:11 (message):
  Need at least GCC 4.7
Call Stack (most recent call first):
  CMake/HPHPSetup.cmake:61 (include)
  hphp/CMakeLists.txt:18 (include)


-- Configuring incomplete, errors occurred!

当我运行
gcc--version
时,输出是:
gcc(Ubuntu/Linaro 4.7.3-2ubuntu1~12.04)4.7.3

为什么需要hhvm?您是否尽了一切可能来分析和改进您现有的PHP代码?或者你只是想让糟糕的PHP代码表现得更好吗?哈哈,我想用它做实验你看,我不是那种东西的朋友;)但是,如果您尝试
cc--version
,会怎么样?同样的结果?啊哈,但仍然是一个奇怪的GCC错误。。。(你不这么认为吗?)