2013-11-27 53 views
0

当我尝试在终端中运行brew医生时,它给了我几个警告。我如何摆脱他们最简单的方法。我可以删除这些文件吗??!另外我安装了当前的命令行工具,但是它没有更新?Brew Doctor警告moncefbelyamani.com如何安装Xcode,Homebrew,Git,RVM,Ruby&Rails

我正尝试通过本教程的部分,现在跟着http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/

这是运行酿造医生,当返回:

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 
+0

我固定的四步这些问题:1)卸载单框架(参见:discussions.apple.com/message/ 23529126#23529126)2)卸载OSXFuse(获得系统首选项,首先更新它,它没有卸载之前,我这样做)3)确保你得到最新版本的XCode,我的版本并没有因为某种原因更新所以我不得不安装一个新的。 4)键入:sudo rm /usr/local/lib/libprotobuf.6.dylib – Nico

回答

0

我修正这些问题有四个步骤:

  1. 卸载单框架(参见:
    discussions.apple.com/message/23529126#23529126)
  2. 卸载
    OSXFuse(有到系统偏好,首先更新它,它没有
    卸载之前,我这样做)
  3. 请确保您获得最新版本
    的XCode,我的版本并没有因为某些原因更新,所以我不得不
    安装一个新的。
  4. 输入:sudo RM
    /usr/local/lib/libprotobuf.6.dylib