本人初学linux,在对netcdf-fortran4.5.3进行编译时出现以下问题:
输入的命令是:
ubantu20@ubuntu:~/netcdf-fortran-4.5.3$ export LD_LIBRARY_PATH=/opt/netcdf/lib:$LD_LIBRARY_PATH
ubantu20@ubuntu:~/netcdf-fortran-4.5.3$ sudo CPPFLAGS=-I/opt/netcdf/include LDFLAGS=-L/opt/netcdf/lib ./configure --prefix=/opt/netcdf
报的问题是:
dirname: missing operand
Try 'dirname --help' for more information.
configure: error: in `/home/ubantu20/netcdf-fortran-4.5.3':
configure: error: Can't find F90 compiler.
See `config.log' for more details
请问应如何解决?万分感谢!
以下是详细信息