Cannot open file debug.h
/usr/bin/f77: aborting compilation
make[2]: *** [arpack/src/libcruft_la-cgetv0.lo] Error 1
make[2]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2/libcruft'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2'
make: *** [install] Error 2
This link says to use the gfortran compiler but how does one switch to it?
"One difference: I used gfortran (which is a Fortran 95 compiler) not the f77 you seem to be using. Where did f77 come from? I don't see that in the repositories.
In the "aptitude build-dep" stage, I kept libgl1-mesa-dev instead of replacing it with libgl1-mesa-swx11-dev, but that shouldn't matter."