在CentOS 5中配置arangodb失败

时间:2017-08-30 10:25:33

标签: arangodb

我需要将ArangoDB移植到centos 5系统,我已将python更新为2.7.13并将cmake更新为3.91,但在cmake执行期间,出现以下错误消息

-- Will compile in hand-optimized assembler code for CRC32.
CMake Error at arangod/CMakeLists.txt:448 (target_compile_features):
  target_compile_features The compiler feature "cxx_constexpr" is not known
  to CXX compiler

  "GNU"

  version 4.1.2.


-- building for git revision: 
-- Configuring incomplete, errors occurred!

有人知道这个错误怎么样?

1 个答案:

答案 0 :(得分:0)

ArangoDB需要一个支持C ++ 11标准的编译器。您将需要gcc 4.8及以上版本。上述错误通知您编译器无法识别constexpr关键字。另请注意,Centos 5已于2017年3月到期(https://www.centos.org/forums/viewtopic.php?t=57398),并且真的不再运营了。但是,如果Centos 5周围没有办法,那么这是一个在Centos 5中提供gcc 4.8的docker容器。