简体   繁体   中英

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.

Setup cannot be found in the setup steps.

在此处输入图片说明

The mentioned setup step tells you to do:

make setup

this requires that your system has latest autoconf / automake available - which you probably don't have in CentOS. Older Autoconf / Automake will fail to generate the configure script. The configure switch --enable-maintainer-mode requires that the system is able to run make setup .

You can now continue in two ways:

  • compile and install latest autofoo and restart with make setup
  • don't use make setup ; Flush the changes to your git working copy with git reset --hard . Use export CFLAGS='-O0 -ggdb' and export CXXFLAGS='-O0 -ggdb' to make configure generate debug enabled binaries.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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