cygwin - C 编译器无法创建可执行文件(cygwin、rtorrent、windows)

标签 cygwin

我正在遵循“rTorrent on Windows”教程,我想我安装了 rTorrent 所需的所有软件包,尽管我不是 100% 确定。

问题始于安装和配置 libsigc++

./配置

user@computer ~ $ cd /usr/local/src/libsigc++-2.2.10

user@computer /usr/local/src/libsigc++-2.2.10

$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking how to create a ustar tar archive... gnutar

checking whether to enable maintainer-specific portions of Makefiles... no

checking whether make supports GNU make features... yes

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether the C++ compiler works... no

configure: error: in `/usr/local/src/libsigc++-2.2.10':

configure: error: C++ compiler cannot create executables

See `config.log' for more details

config.log:http://pastebin.com/G1Xn30iL

我是否错过了任何包裹或其他东西? 我希望得到帮助。这是我第一次使用 cygwin 和 rtorrent...显然我需要先弄清楚事情再进一步:O

最佳答案

您的 cygwin 环境中缺少 C 编译器。再次运行 cygwin 安装程序并选择安装 g++,您应该会看到进度。

关于cygwin - C 编译器无法创建可执行文件(cygwin、rtorrent、windows),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16971373/

相关文章:

c++ - __POSIX_VISIBLE 正在破坏我在 cygwin 上的 pthreading

c++ - 编译cyanoboot : No rule to make target

c++ - 如何在 cygwin 中使用 boost::thread 编译一个简单的程序?

windows - 从 emacs 运行时 svn 版本控制身份验证失败

linux - 无法使用 CYGWIN 获取已安装文件夹的磁盘使用情况

linux - Cygwin bash 文件

python - 如何 ssh 进入运行 cygwin/sshd 的 Windows 盒子并让生成的终端 session 使用 cygwin 而不是默认的 BASH?

c++ - 2 [main] hw3 10368 cygwin_exception::open_stackdumpfile:将堆栈跟踪转储到 hw3.exe.stackdump

perl - perlbrew 是否与 cygwin 一起使用?

windows - 我可以使用 mSysGit 和 Cygwin 的 git 吗?