爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: 冒失鬼

[其他] 请问mac系统怎么安装ncl?

[复制链接]

新浪微博达人勋

 楼主| 发表于 2016-8-16 19:15:43 | 显示全部楼层
冒失鬼 发表于 2016-8-16 19:15
请问一下,这个是什么情况?/Users/nicolesmac/Desktop/屏幕快照 2016-08-16 下午7.18.16.png

==> Creating Caskroom at /usr/local/Caskroom
==> Caveats
To use ncar-ncl, you must add the $NCARG_ROOT/bin directory
to your PATH environment variable.

For bash shell, add these lines to ~/.bash_profile:

  export NCARG_ROOT=/usr/local/ncl-6.3.0
  export PATH=$NCARG_ROOT/bin:"$PATH"

You may also need to modify your DYLD_FALLBACK_LIBRARY_PATH
environment variable:

export DYLD_FALLBACK_LIBRARY_PATH=$(dirname $(gfortran --print-file-name libgfortran.3.dylib)):$DYLD_FALLBACK_LIBRARY_PATH

For other information, please see:
https://www.ncl.ucar.edu/Download/macosx.shtml

==> Satisfying dependencies
==> Installing Formula dependencies from Homebrew
gcc ...
vi ~/.bashrc
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-8-16 19:21:33 | 显示全部楼层
pigzero527 发表于 2016-8-12 11:31
#/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) ...

这个是我输入完您给的语句后的结果
Standard Error of failed command:
Error: The `brew link` step did not complete successfully


==> Exit status of failed command:
#<Process::Status: pid 1918 exit 1>
NicolesdeMacBook-Pro:~ nicolesmac$
NicolesdeMacBook-Pro:~ nicolesmac$ vi ~/.bashrc


rt NCARG_ROOT=/opt/homebrew-cask/Caskroom/ncar-ncl/6.3.0
  export NCARG_LIB=/opt/homebrew-cask/Caskroom/ncar-ncl/6.3.0/lib
  export PATH=$PATH:$NCARG_ROOT/bin
  export DYLD_LIBRARY_PATH=/usr/local/opt/gcc/lib/gcc/5:$DYLD_LIBRARY_PATH
source ~/.bashrc

这个好像是编辑状态??
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-8-16 21:32:25 | 显示全部楼层
pigzero527 发表于 2016-8-12 11:31
#/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) ...

大神,折腾很久我还没装上ncl,能不能给我个qq呀?我好具体问你,感激不尽~!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-3-30 09:50:57 | 显示全部楼层
码一个 正在准备下NCL
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-8-13 11:59:20 | 显示全部楼层
楼主搞定呢吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-8-26 15:19:54 | 显示全部楼层

一直没搞定,过了很久,今天决定再战一次!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-8-26 15:50:02 | 显示全部楼层
pigzero527 发表于 2016-8-2 08:45
这是我以前的安装记录,希望有用

mac安装NCL,首先安装brew:/usr/bin/ruby -e "$(curl -fsSL https://r ...

请问一下,这几个路径分别是什么的路径,不知道应该填什么?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-8-26 17:14:29 | 显示全部楼层
终于安装成功了~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-8-26 17:14:53 | 显示全部楼层
冒失鬼 发表于 2017-8-26 15:19
一直没搞定,过了很久,今天决定再战一次!

今天成功啦!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-8-29 19:28:29 | 显示全部楼层
冒失鬼 发表于 2017-8-26 17:14
终于安装成功了~

求教!!装了好久还是不行
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表