我正在遵循“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/