2
如何构建MongoDB?
在我看来,目前有两种解决方法: https://github.com/skrabban/mongo-nonx86 https://github.com/RickP/mongopi 我安顿了mongo-nonx86叉子。我按照Raspberry Pi中的Install Mongodb中的说明安装了依赖项,并尝试使用来构建MongoDB scons。但我收到以下错误: generate_buildinfo(["build/buildinfo.cpp"], ['\n#include <string>\n#include <boost/version.hpp>\n\n#include "mongo/util/version.h"\n\nnamespace mongo {\n const char * gitVersion() { return "%(git_version)s"; }\n std::string sysInfo() { return "%(sys_info)s BOOST_LIB_VERSION=" BOOST_LIB_VERSION ; }\n} // namespace mongo\n']) gcc -o build/linux2/normal/third_party/pcre-8.30/pcre_exec.o -c -fPIC -fno-strict-aliasing -Wstrict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Wcast-align -Winvalid-pch -O3 -DBOOST_ALL_NO_LIB …