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

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

  •  
  •   happlebao · Aug 23, 2012 · 4676 views
    This topic created in 4996 days ago, the information mentioned may be changed or developed.
    报错代码

    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 replies    1970-01-01 08:00:00 +08:00
    huahang
        1
    huahang  
       Aug 23, 2012
    我也遇到这个错误了,刚刚出现的。
    huahang
        2
    huahang  
       Aug 23, 2012
    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
       Aug 23, 2012
    homebrew的开发人员效率太高了,吃饭前我在github上开了issue14409,吃完饭就解决了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3137 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
    ♥ Do have faith in what you're doing.