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

2012-08-23 18:04:46 +08:00
 happlebao
报错代码

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,有请大侠指教.
3765 次点击
所在节点    macOS
3 条回复
huahang
2012-08-23 19:43:33 +08:00
我也遇到这个错误了,刚刚出现的。
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
2012-08-23 20:17:31 +08:00
homebrew的开发人员效率太高了,吃饭前我在github上开了issue14409,吃完饭就解决了.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/45876

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX