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

Homebrew doctor 报错,google一圈无果,求大侠.

  •  
  •   happlebao · 2012-08-23 18:04:46 +08:00 · 3911 次点击
    这是一个创建于 4466 天前的主题,其中的信息可能已经有所发展或是发生改变。
    报错代码

    Last login: Thu Aug 23 17:41:41 on ttys000
    deaths-MacBook-Pro:~ death$ brew doctor
    Error: Failed to import: cdo
    Your system is raring to brew.

    小弟刚入的mac,有请大侠指教.
    3 条回复    1970-01-01 08:00:00 +08:00
    huahang
        1
    huahang  
       2012-08-23 19:43:33 +08:00
    我也遇到这个错误了,刚刚出现的。
    huahang
        2
    huahang  
       2012-08-23 19:45:43 +08:00
    http://stackoverflow.com/questions/12088238/osx-mountain-lion-homebrew-doctor-error-importing-cdo

    This is a known bug. (https://github.com/mxcl/homebrew/issues/14409).

    For fix it you can edit /usr/local/Library/Formula/cdo.rb (for example with nano text editor). You need replace string "options 'enable-grib2', 'Compile Fortran bindings'" as a "option 'enable-grib2', 'Compile Fortran bindings'". It was "options", but we need "option".
    happlebao
        3
    happlebao  
    OP
       2012-08-23 20:17:31 +08:00
    homebrew的开发人员效率太高了,吃饭前我在github上开了issue14409,吃完饭就解决了.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4828 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:38 · PVG 13:38 · LAX 21:38 · JFK 00:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.