Installation error (no Fortran compiler available)  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
User avatar
new_986
Posts: 77
Joined: Wed Aug 04, 2010 9:27 pm

Installation error (no Fortran compiler available)  [SOLVED]

Post by new_986 » Sat Feb 11, 2017 5:12 pm

Hi everybody
I was working on abinit using fedora 10 long time ago and i was installing abinit using usual way easily
now i have trying to install a new virsion of abinit on fedora 25, i get the following error ,

checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking whether we are using the GNU Fortran compiler... no
checking whether accepts -g... no
configure: error: no Fortran compiler available
[nabdulkareem@localhost abinit-7.10.1]$ make
make: *** No targets specified and no makefile found. Stop.
[nabdulkareem@localhost abinit-7.10.1]$


when i write ./configure it runs but gives error, and when i write make this happens

make: *** No targets specified and no makefile found. Stop.

as is shown above in the error

can anyone help me plz?

thanks
Last edited by new_986 on Mon Feb 13, 2017 2:10 pm, edited 4 times in total.

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: Installation error (no Fortran compiler available)

Post by jbeuken » Mon Feb 13, 2017 8:51 am

Hi,

...
checking whether we are using the GNU Fortran compiler... no
checking whether accepts -g... no
configure: error: no Fortran compiler available

It is pretty clear...

Code: Select all

dnf install gcc gcc-gfortran 
------
Jean-Michel Beuken
Computer Scientist

User avatar
new_986
Posts: 77
Joined: Wed Aug 04, 2010 9:27 pm

Re: Installation error (no Fortran compiler available)

Post by new_986 » Mon Feb 13, 2017 1:20 pm

hi
thanks for replying
it worked thanks a lot

regards

Locked