我正试图在我的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版本有关(如果我必须将它更改为不同的版本)。
发布于 2021-12-11 04:02:10
克隆回购后,必须使用git submodule update --init --recursive克隆其子模块。那么make就会正确执行。
https://stackoverflow.com/questions/65310832
复制相似问题