首页 文章

在CentOS 5中配置arangodb失败

提问于
浏览
1

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

    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容器 .

相关问题