terminal - 通过cygwin终端在我的Windows上安装hydra时“no acceptable c compiler found in $PATH”

标签 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.

最佳答案

默认情况下,Cygwin不安装编译器。我建议从Cygwin的安装程序中安装“gcc”。 (您可能需要其他软件包,但需要以“gcc”开头并添加软件包。)

关于terminal - 通过cygwin终端在我的Windows上安装hydra时“no acceptable c compiler found in $PATH”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48576012/

相关文章:

macos - 终端命令 : For loop with echo

linux - BASH:输入期间的 Ctrl+C 会中断当前终端

terminal - haxe cpp - 如何在终端应用程序中捕获 Ctrl+C 按键?

c - 发送 ctrl + z 到控制台程序

linux - fatal error : pthread. h:没有那个文件或目录

c++ - 让 constexpr 在 OSX 上的 C++17 中与 pow 一起使用

java - 告诉 Java 编译器在运行时可以访问该字段?

perl - 如何将Cygwin的perl版本从5.22降级到5.14?

Github/Cygwin 错误 : cygheap base mismatch detected

gcc - 使用Cygwin gcc编译+链接自定义操作系统:无法识别的仿真模式:elf_i386