Hi Everyone ...

I'm trying to install the model but I'm facing many problems in this regard ...

Recently I have tried installing through using the "prereq_install.sh" script and also after applying the configure step it fails to complete the installation successfully (attached are the script and the installation log).

Now ... I'm getting this error:

[mostafa@fedora ~/RegCM-4.7.0]$ ./configure PATH=/home/mostafa/Regcm4.7/bin:$PATH CC="gcc" FC="gfortran" MPIFC="/home/mostafa/Regcm4.7/bin/mpif90" CPPFLAGS=-I/home/mostafa/Regcm4.7/include LDFLAGS=-L/home/mostafa/Regcm4.7/lib LIBS="-lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz"
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/mostafa/RegCM-4.7.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
[mostafa@fedora ~/RegCM-4.7.0]$ ./configure PATH=/home/mostafa/Regcm4.7/bin:$PATH CC="gcc" FC="gfortran" MPIFC="/home/mostafa/Regcm4.7/bin/mpif90" CPPFLAGS=-I/home/mostafa/Regcm4.7/include LDFLAGS=-L/home/mostafa/Regcm4.7/lib LIBS="-lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz"
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/mostafa/RegCM-4.7.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details