Dear all,
I've stacked on installing RegCM4.7! getting error in configuration step.
I'm doing this on Ubuntu 16.04, which gfortran version 5.5 and gcc version 5.5.

here's my config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by RegCM configure 4.7.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure FC=gfortran CPPFLAGS=-I/usr/local/bin/include LDFALGS=/usr/local/bin/lib

## --------- ##
## Platform. ##
## --------- ##

hostname = asadi-X540LJ
uname -m = x86_64
uname -r = 4.4.0-31-generic
uname -s = Linux
uname -v = #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/ncl-6.6.2/bin
PATH: /opt/opengrads
PATH: /home/asadi/bin
PATH: /home/asadi/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
"config.log" 946L, 36483C