V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
family
V2EX  ›  macOS

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

  •  
  •   family · 2013-10-23 09:08:39 +08:00 · 3946 次点击
    这是一个创建于 3839 天前的主题,其中的信息可能已经有所发展或是发生改变。
    13 条回复    1970-01-01 08:00:00 +08:00
    Hualin
        1
    Hualin  
       2013-10-23 09:16:04 +08:00
    我也曾担心这个。我用的是 macports 目前没发现有啥影响。
    rikugun
        2
    rikugun  
       2013-10-23 09:56:33 +08:00
    brew 有些问题. 我这还在下 command tools 更新看看行不行
    ine181x
        3
    ine181x  
       2013-10-23 10:27:54 +08:00
    https://twitter.com/y_jono/status/387695238485008384

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

    Homebrew 现在已经能提示这类错误了。解决的方法也很简单,按提示,把老软件包删掉重装一遍即可。
    wzxjohn
        12
    wzxjohn  
       2013-10-23 14:38:27 +08:00
    目前没发现什么问题。。。
    ine181x
        13
    ine181x  
       2013-10-23 14:59:30 +08:00
    @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 就可以了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   876 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:05 · PVG 05:05 · LAX 14:05 · JFK 17:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.