family
V2EX  ›  macOS

升级后brew还能用吗?支持10.9吗?

  •  
  •   family · Oct 23, 2013 · 5172 views
    This topic created in 4772 days ago, the information mentioned may be changed or developed.
    13 replies  •  1970-01-01 08:00:00 +08:00
    Hualin
    Hualin
    Oct 23, 2013
    1
    我也曾担心这个。我用的是 macports 目前没发现有啥影响。
    rikugun
    rikugun
    Oct 23, 2013
    2
    brew 有些问题. 我这还在下 command tools 更新看看行不行
    ine181x
    ine181x
    Oct 23, 2013
    3
    https://twitter.com/y_jono/status/387695238485008384

    不会日语,求翻译。Google 了一下貌似意思是编译会有问题?
    leofml
    leofml
    Oct 23, 2013
    4
    我直接从10.8.5升级到10.9GM版, brew可用
    bearcat001
    bearcat001
    Oct 23, 2013
    6
    可以用...只要装好xcode5
    shibo501c
    shibo501c
    Oct 23, 2013
    7
    我是升级安装的, 暂时没发现问题
    xujingbao
    xujingbao
    Oct 23, 2013
    8
    测试版的时候 brew就可以用
    hzlzh
    hzlzh
    Oct 23, 2013
    9
    安装最新版 xcode然后 执行,brew upgrade
    dorentus
    dorentus
    Oct 23, 2013
    10
    装最新的 Xcode 5(附带正式版 10.9 SDK 的那个)。
    然后 Command Line Tools 已经不用装了。
    dorentus
    dorentus
    Oct 23, 2013❤️1
    11
    @ine181x 这个之前也有别人说过,就是 10.9 自带编译器的使用的 C++ 库,默认设定从 libstdc++ 换成了 libc++;那么之前 homebrew 里面装的一些软件包,是和 libstdc++ 链接的,那么更新后,依赖这些软件包的软件包,再安装或者更新,会要和 libc++ 链接,于是就会出错。

    Homebrew 现在已经能提示这类错误了。解决的方法也很简单,按提示,把老软件包删掉重装一遍即可。
    wzxjohn
    wzxjohn
    Oct 23, 2013
    12
    目前没发现什么问题。。。
    ine181x
    ine181x
    Oct 23, 2013
    13
    @dorentus thank you 更新之后已经遇到了。brew 会提示。

    Error: subversion dependency sqlite was built with the following
    C++ standard library: libstdc++ (from clang)

    This is incompatible with the standard library being used
    to build subversion: libc++ (from clang)

    Please reinstall sqlite using a compatible compiler.
    hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries

    然后只要 brew reinstall sqlite 就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1316 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 17:10 · PVG 01:10 · LAX 09:10 · JFK 12:10
    ♥ Do have faith in what you're doing.