- 积分
- 7263
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-20
- 最后登录
- 1970-1-1
|
发表于 2013-7-25 22:34:28
|
显示全部楼层
bjj948 发表于 2013-7-25 10:03
Hi, I found it,
login as root
多谢,我还有个问题。在安装ncl时,安装完后,我测试了那4个语句,结果ng4ex gsun01n和ncl gsun01.ncl能用,而ncarg cpex08和ctrans -d X11 cpex08.ncgm不能用,提示说找不到X11之类的报错。这个怎么解决?
[root@nickbsb ~]# ncargex cpex08
NCAR Graphics Fortran Example <cpex08>
Copying cpex08.f
Copying cpexcc.f
Compiling and linking...
gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/wrf/ncl/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender
/usr/bin/ld: cannot find -lpixman-1
collect2: ld 返回 1
The compile and link failed.
[root@nickbsb ~]# ctrans -d X11 cpex08.ncgm
ctrans: Can't open metafile(cpex08.ncgm) [ No such file or directory ]
|
|