Last Updated: February 25, 2016
· novalagung

Ubuntu - Installing Octave, Fortran 77 error

when you try to install latest version of octave, and then got this error :

"checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran 77 libraries of ...
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: in `/home/ogro0/octave-3.2.4':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details."

you need o install some missing library. just execute this command :

sudo apt-get install f2c gfortran libblas-dev liblapack-dev libpcre3-dev libreadline-dev