xcode – brew不适合我OSX 10.7

xcode – brew不适合我OSX 10.7,第1张

概述我已经安装了 xcode 4.3并且正在运行但是当我执行brew install wget时.我明白了 ==> Downloading http://ftpmirror.gnu.org/wget/wget-1.13.4.tar.bz2 ######################################################################## 我已经安装了 xcode 4.3并且正在运行但是当我执行brew install wget时.我明白了

    ==> Downloading http://ftpmirror.gnu.org/wget/wget-1.13.4.tar.bz2    ######################################################################## 100.0%    ==> ./configure --disable-deBUG --prefix=/usr/local/Cellar/wget/1.13.4 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable    configure: configuring for GNU Wget 1.13.4    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)... yes    checking build system type... x86_64-apple-darwin11.3.0    checking host system type... x86_64-apple-darwin11.3.0    checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang    checking whether the C compiler works... no    configure: error: in `/private/tmp/homebrew-wget-1.13.4-PMov/wget-1.13.4':    configure: error: C compiler cannot create executables    See `config.log' for more details    ==> Exit Status: 77    http://github.com/mxcl/homebrew/blob/master/library/Formula/wget.rb#L24    ==> Environment    HOMEBREW_VERSION: 0.8.1    head: (none)    HOMEBREW_PREFIX: /usr/local    HOMEBREW_CELLAR: /usr/local/Cellar    HarDWare: quad-core 64-bit sandybrIDge    OS X: 10.7.3    Kernel Architecture: x86_64    Xcode: 3.2.2    GCC-4.0: N/A    GCC-4.2: N/A    LLVM: build 2336    Clang: N/A    MacPorts or fink? false    X11: /usr/X11    System Ruby: 1.8.7-249    /usr/bin/ruby => /Sy    /usr/bin/ruby => /System/library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby    Which Perl:   /usr/bin/perl    Which Python: /usr/bin/python    Which Ruby:   /usr/bin/ruby => /System/library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby    ==> Build Flags    CC: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang    CXX: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ => /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang    LD: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang    CFLAGS: -Os -w -pipe -march=native -Qunused-arguments    CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments    MAKEFLAGS: -j4    Error: Failed executing: ./configure --disable-deBUG --prefix=/usr/local/Cellar/wget/1.13.4 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable-iri    If `brew doctor' does not help diagnose the issue,please report the BUG:        https://github.com/mxcl/homebrew/wiki/checkList-before-filing-a-new-issue    We saved the configure log,please gist it if you report the issue:        ~/library/Logs/Homebrew/config.log

请帮我解决这个问题.我已经安装了新的 *** 作系统和xcode 4.3.

解决方法 您需要安装Cli工具.在Xcode中打开首选项,转到下载并安装“命令行工具”. 总结

以上是内存溢出为你收集整理的xcode – brew不适合我OSX 10.7全部内容,希望文章能够帮你解决xcode – brew不适合我OSX 10.7所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1035108.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存