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

升级到 10.9 之后,发现好多brew 里的软件都编译不过去了。

  •  
  •   hedaors · 2013-11-26 14:50:35 +08:00 · 3019 次点击
    这是一个创建于 3805 天前的主题,其中的信息可能已经有所发展或是发生改变。
    比如 octave 等,
    很多软件编译的时候总是出现错误

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    很是烦人,有人碰到过么?
    10 条回复    1970-01-01 08:00:00 +08:00
    rockhead
        1
    rockhead  
       2013-11-26 14:51:43 +08:00 via iPad
    xcode升级了吗?
    hedaors
        2
    hedaors  
    OP
       2013-11-26 14:53:48 +08:00
    @rockhead 升级了啊,都升级到了最新版本。
    puttin
        3
    puttin  
       2013-11-26 14:58:56 +08:00
    我之前发现`locale` 显示为 C 或者 POSIX 时有些 Ruby 类的会失效
    monkeycz
        4
    monkeycz  
       2013-11-26 15:17:04 +08:00
    试试 xcode-select --install
    hedaors
        5
    hedaors  
    OP
       2013-11-26 15:24:59 +08:00
    @monkeycz 这个都试过了啊

    @puttin 我的是 en_US.UTF-8
    alexrezit
        6
    alexrezit  
       2013-11-26 15:27:04 +08:00
    Update.
    hedaors
        7
    hedaors  
    OP
       2013-11-26 15:49:20 +08:00
    @alexrezit update 也执行过了。

    brew doctor 也执行了,都没有发现问题。

    现在怒了,改用 fink 了。。。
    alexrezit
        8
    alexrezit  
       2013-11-26 15:50:19 +08:00
    @hedaors
    brew update
    brew upgrade
    meta
        9
    meta  
       2013-11-26 20:06:48 +08:00
    先安装gcc,然后CC过去在试试。
    cattyhouse
        10
    cattyhouse  
       2013-11-26 21:23:21 +08:00
    卸载brew重新安装,然后从app store重新安装xcode
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2889 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:34 · PVG 22:34 · LAX 07:34 · JFK 10:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.