在 CentOS 5 中配置 arangodb 失败

Configuring arangodb failed in CentOS 5

我需要将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!

有人知道这个错误是怎么回事吗?

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