- 积分
- 7124
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-11-26
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
今天重装了Centos7,安装了GCC/g++/gfortran和intel编译器,在对NETCDF编译时提示错误:configure: error: Can't find or link to the z library. Turn off netCDF-4 and opendap with --disable-netcdf-4 --disable-dap, or see config.log for errors.
下面是config.log中有error的地方
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4469: $? = 4
configure:4458: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
Override any GCC internal prototype to avoid an error.
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.g++
configure:6565: $? = 4
configure:6554: gfortran -qversion >&5
gfortran: error: unrecognized command line option '-qversion'
gfortran: fatal error: no input files
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:7162: $? = 4
configure:7151: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
|
|