简体   繁体   English

如何在CentOS中编译ArangoDB 2.8源代码?

[英]How to compile ArangoDB 2.8 source in CentOS?

In CentOS I cannot follow the steps given on the ArangoDB official site ( https://docs.arangodb.com/2.8/Installing/Compiling.html ) to compile ArangoDB source code. 在CentOS中,我无法按照ArangoDB官方网站( https://docs.arangodb.com/2.8/Installing/Compiling.html )上给出的步骤来编译ArangoDB源代码。

Setup cannot be found in the setup steps. 在设置步骤中找不到设置。

在此处输入图片说明

The mentioned setup step tells you to do: 提到的setup步骤告诉您执行以下操作:

make setup

this requires that your system has latest autoconf / automake available - which you probably don't have in CentOS. 这要求您的系统具有最新的autoconf / automake可用-您在CentOS中可能没有。 Older Autoconf / Automake will fail to generate the configure script. 较旧的Autoconf / Automake将无法生成配置脚本。 The configure switch --enable-maintainer-mode requires that the system is able to run make setup . 配置开关--enable-maintainer-mode要求系统能够运行make setup

You can now continue in two ways: 您现在可以通过两种方式继续:

  • compile and install latest autofoo and restart with make setup 编译并安装最新的autofoo并通过make setup重新启动
  • don't use make setup ; 不要使用make setup ; Flush the changes to your git working copy with git reset --hard . 使用git reset --hard刷新对git工作副本的更改。 Use export CFLAGS='-O0 -ggdb' and export CXXFLAGS='-O0 -ggdb' to make configure generate debug enabled binaries. 使用export CFLAGS='-O0 -ggdb'export CXXFLAGS='-O0 -ggdb'使configure生成启用调试的二进制文件。

In general you should add more details to your Stackoverflow questions in terms of what you did, what happened - so people can better help you. 通常,您应该就您所做的事情和发生的事情向Stackoverflow问题中添加更多详细信息-这样人们才能更好地为您提供帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM