- 积分
- 4570
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-11-29
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 islandowner 于 2018-4-7 14:58 编辑
最近安装ncview遇到了问题,configure: error: Could not find Athena widgets library and header (checked w/Xmu.h included as well). Use your package manager to install the X windows development libraries and headers.
搜索尝试了各种办法未能解决,最后在一个帖子的回复看到了安装epel的解决办法。
(1)先装上epel repository。epel的具体信息和安装可参考https://www.tecmint.com/how-to-e ... or-rhel-centos-6-5/。我用的centos7,安装代码为(root权限):
# wget http://dl.fedoraproject.org/pub/ ... latest-7.noarch.rpm
# rpm -ivh epel-release-latest-7.noarch.rpm
(2)再安装ncview
代码为:
# yum --enablerepo=epel install ncview
(3)结果
已安装:
ncview.x86_64 0:2.1.2-2.el7
作为依赖被安装:
hdf5.x86_64 0:1.8.12-10.el7 libXaw.x86_64 0:1.0.13-4.el7
libaec.x86_64 0:1.0.2-1.el7 netcdf.x86_64 0:4.3.3.1-5.el7
udunits2.x86_64 0:2.2.20-2.el7
完毕!
|
评分
-
查看全部评分
|