This is actually the first step. I think this comes from running the configure with FoX library (or possibly LibXC). You can check like so. From exciting’s folder:
cd external/FoX
./configure
What I would expect to see is:
checking for EOR character used by gfortran... LF
This sounds like a problem with your gfortran version. Can you give details of the OS and gfortran version used?
Can you try running ./configure in the FoX and LibXC directories, such that we can identify where the error’s coming from?
You could also try installing the Intel compiler (which is now free). Might be an easy workaround, although there’s no reason why exciting can’t be compiled with gfortran.