The first log suggests that the netcdf-fortran paths are not available or linked while configuring. I am not sure whether you are done with the installation of WRF-ARW package, as it shows error in 2nd log file. The problems are based on libraries especially netcdf. Could you please share the system path (the directory where you are trying to install the WRF, WPS) and the Dependencies path (The directory where netcdf and other dependencies are installed).