"在$ PATH中找不到可接受的c编译器"通过cygwin终端在我的窗户上安装hydra

时间:2018-02-02 05:06:08

标签: terminal compiler-errors cygwin

我尝试通过Cygwin在Windows下安装hydra时发现错误。我该怎么办?

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... no
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

1 个答案:

答案 0 :(得分:2)

默认情况下,Cygwin不安装编译器。我建议安装" gcc"来自Cygwin的设置。 (您可能需要其他软件包,但从&#34开始; gcc"并且需要添加软件包。)