我正在尝试构建 grpc来自 Windows 2012 Server 版本的源代码。我从 Python 网站下载并安装了 Python 3.5,并安装了整个 MinGW 包以及 git 和 git bash。按照从源代码构建的说明进行操作:
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install
执行 make 后出现上述错误。这是供您细读的 shell 输出。
PS C:\Users\thunderboltsid\grpc> make
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc.pc
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc_unsecure.pc
[MAKE] Generating cache.mk
[C] Compiling third_party/zlib/adler32.c
make.exe": no_c_compiler: Command not found
make.exe": *** [/c/Users/thunderboltsid/grpc/objs/opt/third_party/zlib/adler32.o] Error 127
我真的不明白这个错误应该是什么。尝试谷歌搜索,但没有帮助。任何输入将不胜感激。
最佳答案
您可能需要运行apt-get install which
关于windows - 这是什么错误 `make.exe": no_c_compiler: Command not found`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37847311/