请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 18127|回复: 16

ncview 安装求助

[复制链接]

新浪微博达人勋

发表于 2017-1-19 17:00:36 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
ncview安装 配置命令:./configure --prefix=/home/Yang/ncview --with-nc-config=/home/Yang/software/install/netcdf-c/bin/nc-config --x-libraries=/usr/lib64 --x-includes=/usr/include/X11
configure报错:
checking for nc-config... yes
Netcdf library version: netCDF 4.4.1
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: gcc
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for X... libraries /usr/lib64, headers /usr/include/X11
checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for the Athena widgets...
checking for XtWindow in -lXt... no
checking for XawScrollbarSetThumb in -lXaw... no
checking for the Athena 3d widgets instead... checking for XawScrollbarSetThumb in -lXaw3d... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Intrinsic.h usability... no
checking X11/Intrinsic.h presence... no
checking for X11/Intrinsic.h... no
checking X11/Xaw/Simple.h usability... no
checking X11/Xaw/Simple.h presence... no
checking for X11/Xaw/Simple.h... no
checking for X11/Xaw/Simple.h... (cached) no
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.


确实没找到w/Xmu.h,除了这个还有其他原因吗,应该怎么解决呢?


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-7 16:48:18 | 显示全部楼层
本帖最后由 愛、星晴 于 2019-3-7 16:49 编辑

昨天晚上安装ncview2.1.7也遇到了同样的报错,查到这里发现也没什么解决方法,最后自己捣腾了半天搞定了,特意前来终结此贴,方便后人查阅,对于ubuntu的版本,使用以下两个命令安装缺少的库就可以了,剩下可能还会有报错,但都是很容易解决的。
sudo apt-get install xorg
sudo apt-get install libxaw7-dev
密码修改失败请联系微信:mofangbao
回复 支持 3 反对 0

使用道具 举报

新浪微博达人勋

发表于 2017-5-6 16:54:52 | 显示全部楼层
请问楼主问题解决了吗 我遇到同样的问题 希望能交流一下
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-8-6 11:40:57 | 显示全部楼层
olla90 发表于 2017-5-6 16:54
请问楼主问题解决了吗 我遇到同样的问题 希望能交流一下

请问你这个问题解决了吗?我也是这个问题
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-8-6 12:44:09 | 显示全部楼层
楼主的问题解决了吗,我也是同样的问题,求帮忙
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-9-17 23:14:32 | 显示全部楼层
./configure --x-libraries=/usr/X11R6/lib
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-10-11 15:31:59 | 显示全部楼层
chinajswzc 发表于 2017-9-17 23:14
./configure --x-libraries=/usr/X11R6/lib

你这个命令也不行啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-10-13 12:46:32 | 显示全部楼层
请问楼主问题解决了吗 我遇到同样的问题 希望能交流一下
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-8 00:13:46 | 显示全部楼层
mask没人解决这个问题么
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-12 16:49:22 | 显示全部楼层
表示我也遇到同样的问题了!请问有大神知道该怎么解决吗?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-12 16:49:36 | 显示全部楼层
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.
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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