安装netcdf-fortran4.5.3出现"configure: error: Can't find F90 compiler."问题

本人初学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

请问应如何解决?万分感谢!
以下是详细信息

img


本人使用的环境是:
ubantu20.04
编译器使用的是ifort
其余依赖是zlib-1.2.11,hdf5-1.10.1,curl-7.79.1.netcdf-c-4.8.0