【发布时间】:2013-12-03 14:46:51
【问题描述】:
我检查了stackoverflow,但还没有找到答案。
我正在尝试在 Mavericks 上安装 wget,如下所示。
这是我得到的:
bolo:wget-1.14 Michelin$ subl config.log
bolo:wget-1.14 Michelin$ ./configure --with-ssl=openssl
configure: configuring for GNU Wget 1.14
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking build system type... i386-apple-darwin13.0.0
checking host system type... i386-apple-darwin13.0.0
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/Michelin/Downloads/wget-1.14':
configure: error: C compiler cannot create executables
See `config.log' for more details
我的配置日志:
https://gist.github.com/bolom/7552389
我已经安装了命令行工具,但我没有安装汇编器:(
B.
【问题讨论】:
-
不幸的是,我没有 Mavericks,但从您的 config.log 看来,configure 找不到 as 汇编程序。它通常在 /usr/bin 中。确保它在那里。如果不是,请尝试查找(安装了 Mavericks 的人可能有更多信息)
-
你说得对,我没有
-
然而命令行工具在这里cl.ly/image/3m2U1N0q1B2l
标签: macos osx-mavericks