简体   繁体   English

可以在没有使用自制软件的情况下将ArangoDB安装在Snow Leopard上吗? 如果是这样,怎么样?

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

I've got an old Mac. 我有一台旧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. 很快我会换新PC,但在那之前,我无法升级我的Mac OS,所以我被Snow Leopard困住了。 Is there a way to install ArangoDB. 有没有办法安装ArangoDB。 I've tried several times via terminal, but gcc does not want to compile and gives me following errors: 我通过终端尝试了几次,但是gcc不想编译并给我以下错误:

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. 此外,由于旧的Xcode,我似乎无法将gcc升级到4.2以上的版本。 So if anyone knows how to achieve this without uninstalling my Xcode, that would surely help. 因此,如果有人知道如何在不卸载我的Xcode的情况下实现这一点,那肯定会有所帮助。 Thanks. 谢谢。

The ArangoDB databases requires a working C++ 11 compiler. ArangoDB数据库需要一个可用的C ++ 11编译器。 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/ 在没有自制程序的情况下编译它的一种方法是首先编译GCC 4.9,例如参见https://solarianprogrammer.com/2013/06/11/compiling-gcc-mac-os-x/

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

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

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