linux安装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.
已经安装好libpng/hdf5/zlib/netcdf-c/udunits库
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.
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.
希望能够解决这个问题,成功安装ncview
有小伙伴安装ncview2.1.7也遇到了同样的报错,查到这里发现也没什么解决方法,最后自己捣腾了半天搞定了,方便后人查阅,对于ubuntu的版本,使用以下两个命令安装缺少的库就可以了,剩下可能还会有报错,但都是很容易解决的。
sudo apt-get install xorg
sudo apt-get install libxaw7-dev