Brew Doctor Warning moncefbelyamani.com如何安装Xcode,Homebrew,Git,RVM,Ruby&轨道

时间:2013-11-27 11:31:11

标签: install warnings homebrew

当我尝试在终端中运行brew医生时,它会给我一些警告。我如何以最简单的方式摆脱它们。我可以删除文件......?!我还安装了当前的命令行工具,但它没有更新?

我正在努力完成本教程的部分内容http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/

运行brew医生时会返回:

Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libosxfuse_i32.2.dylib
    /usr/local/lib/libosxfuse_i64.2.dylib
    /usr/local/lib/libprotobuf.6.dylib

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
    /usr/local/lib/libosxfuse_i32.la
    /usr/local/lib/libosxfuse_i64.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/osxfuse.pc

Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.

当我运行gcc -v它给了我这个,所以我的命令行工具是最新的,是吗?

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

1 个答案:

答案 0 :(得分:0)

我通过四个步骤解决了这些问题:

  1. 卸载Mono Framework(参见:
    discussion.apple.com/message/23529126#23529126)<<李>
  2. 卸载
        OSXFuse(获得系统首选项,首先更新它,它没有     在我做之前卸载)
  3. 确保您获得最新版本
        对于XCode,我的版本由于某种原因没有更新,所以我不得不     安装一个新的。
  4. 类型:sudo rm
            /usr/local/lib/libprotobuf.6.dylib