The build was successful. In earlier attempts I had not run make distclean. This time I used
make distclean ./configure FC=gfortran-7 make and the build went through. It seems that using make distclean has helped to do the job. Maybe it has helped to remove some files from earlier unsuccessful attempts. As far as I can see I don't have multiple gfortrans installed and gfortran-7 seems to be correctly installed. Anyway, thanks a lot for your help. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.