爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7644|回复: 13

[程序设计] ncview安装

[复制链接]

新浪微博达人勋

发表于 2015-4-22 17:49:04 | 显示全部楼层 |阅读模式

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

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

x
我在安装ncview的时候出现这样的错误,各种无奈,请求大神支援
$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
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 netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
Found netcdf.h in: .
checking for nc_open in -lnetcdf... yes
Found netcdf library file libnetcdf.a in directory .
checking udunits.h usability... yes
checking udunits.h presence... yes
checking for udunits.h... yes
checking for /usr/local/lib/libudunits.a... no
checking for /usr/lib/libudunits.a... no
checking for /lib/libudunits.a... no
checking for /home/Bigass/lib/libudunits.a... no
checking for /sw/lib/libudunits.a... no
************************************************************************
Note: udunits support is NOT enabled, because I could not find the
location of the udunits include file 'udunits.h' or library file
'libudunits.a'.  Ncview uses the udunits package to format date strings
with units of the form 'days since 1900-01-01'.  If you do not use
these udunits-standard date formats, then don't worry about the lack
of udunits support.  If you DO use udunits format date strings, and
you want the udunits support, then you must tell me where to find
the udunits package by giving arguments to configure, as follows:
  ./configure -with-udunits_incdir=include_directory -with-udunits_libdir=library_directory
NOTE: udunits does >>not<< work under Mac OS X, so don't try using it on that platform!
************************************************************************
checking /usr/local/include/ppm.h usability... no
checking /usr/local/include/ppm.h presence... no
checking for /usr/local/include/ppm.h... no
checking /usr/include/ppm.h usability... no
checking /usr/include/ppm.h presence... no
checking for /usr/include/ppm.h... no
checking /home/Bigass/include/ppm.h usability... no
checking /home/Bigass/include/ppm.h presence... no
checking for /home/Bigass/include/ppm.h... no
checking for ppm_writeppm in -lppm... no
checking for /usr/local/lib/libppm.so... no
checking for /usr/lib/libppm.so... no
checking for /lib/libppm.so... no
checking for /home/Bigass/lib/libppm.so... no
checking for ppm_writeppm in -lnetpbm... no
checking for /usr/local/lib/libnetpbm.so... no
checking for /usr/lib/libnetpbm.so... no
checking for /lib/libnetpbm.so... no
checking for /home/Bigass/lib/libnetpbm.so... no
************************************************************************
Note: the -frames option is NOT enabled, because I could not find the
location of the PPM include file 'ppm.h' or library file
'libppm.a'.  Ncview uses the ppm package to dump out the frames viewed,
which is an easy way to make an mpeg video of the data if you want.
If you do not want this feature, then don't worry about the lack
of ppm support.  If you DO want this, then you must tell me where to find
the ppm package by giving arguments to configure, as follows:
  ./configure -with-ppm_incdir=include_directory -with-ppm_libdir=library_directory
************************************************************************
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
./configure: line 8332: ./config.status: Permission denied
./configure: line 8345: ./config.status: Permission denied
./configure: line 8613: ./config.status: Permission denied
./configure: line 8628: ./config.status: Permission denied
./configure: line 8650: ./config.status: Permission denied
./configure: line 8663: ./config.status: Permission denied
./configure: line 8689: ./config.status: Permission denied
./configure: line 8738: ./config.status: Permission denied
./configure: line 8750: ./config.status: Permission denied
./configure: line 8797: ./config.status: Permission denied
./configure: line 8880: ./config.status: Permission denied
./configure: line 8920: ./config.status: Permission denied
./configure: line 9086: ./config.status: Permission denied
./configure: line 9090: ./config.status: Permission denied
./configure: line 9115: ./config.status: Permission denied
/bin/sh: ./config.status: Permission denied
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 成长值: 32430
发表于 2015-4-22 17:51:58 | 显示全部楼层

回帖奖励 +5 金钱

新版本Matlab已经可以读取nc文件,不必安装这个了……
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 成长值: 32430
发表于 2015-4-22 17:52:24 | 显示全部楼层
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-4-22 18:00:02 | 显示全部楼层
二爷名声在外 发表于 2015-4-22 17:51
新版本Matlab已经可以读取nc文件,不必安装这个了……

但是我还是得安装ncview,你发的那个链接我看过了,不是同一个问题,,快哭跪了。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-4-22 18:22:44 | 显示全部楼层
李翔华 发表于 2015-4-22 18:00
但是我还是得安装ncview,你发的那个链接我看过了,不是同一个问题,,快哭跪了。。。

给权限啊~~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-4-22 21:41:54 | 显示全部楼层

什么权限???
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-5-9 14:01:30 | 显示全部楼层

弱弱的问一下,怎么给权限啊?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-5-9 14:05:58 | 显示全部楼层
李翔华 发表于 2015-5-9 14:01
弱弱的问一下,怎么给权限啊?

你用root试试
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-5-22 10:17:41 | 显示全部楼层
我也遇到了这个问题,求解决方案!!!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-5-22 12:01:35 | 显示全部楼层
kongmeng 发表于 2015-5-22 10:17
我也遇到了这个问题,求解决方案!!!

是因为没有安装udunit,不需要的话根据makefile里的提示把它去掉,
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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