简体   繁体   中英

Can ArangoDB be installed on Snow Leopard without using homebrew? If so, how?

I've got an old Mac. Soon enough I will be trading up for a new PC but until then, I cannot upgrade my Mac OS, so I am stuck with Snow Leopard. Is there a way to install ArangoDB. I've tried several times via terminal, but gcc does not want to compile and gives me following errors:

Checking if C++ compiler "/usr/bin/llvm-g++" is GCC... yes
Checking if C compiler "/usr/bin/llvm-gcc" is GCC... yes
Checking if C compiler is GCC 4.8.2 or newer...no
Checking if C++ compiler is GCC 4.8.2 or newer...no
ERROR: Refusing to build with compiler that does not meet requirements

Also, I cannot seem to upgrade gcc to version above 4.2 because of old Xcode. So if anyone knows how to achieve this without uninstalling my Xcode, that would surely help. Thanks.

The ArangoDB databases requires a working C++ 11 compiler. One way to compile it without homebrew is to first compile GCC 4.9, see for instance https://solarianprogrammer.com/2013/06/11/compiling-gcc-mac-os-x/

替代@ fceller的答案,就是在Mac上安装Boot2Docker并运行ArangoDB Docker容器

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