configure:错误:C编译器无法使用Mavericks创建可执行文件

Bol*_*olo 7 macos osx-mavericks

我已经检查过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
Run Code Online (Sandbox Code Playgroud)

我的config.log:

https://gist.github.com/bolom/7552389

我已经安装了命令行工具的其他东西,但我没有汇编程序:(

B.

wha*_*ird 1

我建议使用 homebrew ( http://brew.sh/ ) 来安装 wget:

brew install wget
Run Code Online (Sandbox Code Playgroud)

给其他人的补充说明:升级 Mavericks 的命令行工具很简单,如下所示: http: //www.computersnyou.com/2025/