V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hedaors
V2EX  ›  macOS

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

  •  
  •   hedaors · Nov 26, 2013 · 3743 views
    This topic created in 4538 days ago, the information mentioned may be changed or developed.
    比如 octave 等,
    很多软件编译的时候总是出现错误

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

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

    @puttin 我的是 en_US.UTF-8
    alexrezit
        6
    alexrezit  
       Nov 26, 2013
    Update.
    hedaors
        7
    hedaors  
    OP
       Nov 26, 2013
    @alexrezit update 也执行过了。

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

    现在怒了,改用 fink 了。。。
    alexrezit
        8
    alexrezit  
       Nov 26, 2013
    @hedaors
    brew update
    brew upgrade
    meta
        9
    meta  
       Nov 26, 2013
    先安装gcc,然后CC过去在试试。
    cattyhouse
        10
    cattyhouse  
       Nov 26, 2013
    卸载brew重新安装,然后从app store重新安装xcode
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2506 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 312ms · UTC 06:16 · PVG 14:16 · LAX 23:16 · JFK 02:16
    ♥ Do have faith in what you're doing.