我正在尝试在我的Macbook Pro上安装RedisGraph。我已经克隆了repo,并在项目目录中运行了make
命令,但我得到了以下输出。
make[2]: *** No targets specified and no makefile found. Stop.
make[1]: *** [../deps/rax/rax.o] Error 2
make: *** [all] Error 2
不过回购中有一个Makefile。如果我运行make Makefile
,我仍然会得到
make: Nothing to be done for `Makefile'.
我的gcc版本:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin20.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
我正在遵循此文档上的步骤。如有任何帮助,我们将不胜感激!不确定它是否与Clang的OS X版本有关(如果我必须将其更改为其他版本(。
克隆repo后,必须使用git submodule update --init --recursive
克隆其子模块。然后make将正确执行。