Brew install veclibfort: gfortran: no such file or directory

As a preliminary octave, I need to install veclibfort:

brew install veclibfort 

I get an error

 ==> make check gfortran -o tester -O tester.f90 vecLibFort.o -framework vecLib make: gfortran: No such file or directory make: *** [check] Error 1 

This error sounds like I don't have gfortran, but I do it. If I run gfortran -v :

 Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.8.3/libexec/gcc/x86_64-apple-darwin13.2.0/4.8.3/lto-wrapper Target: x86_64-apple-darwin13.2.0 Configured with: ../configure --build=x86_64-apple-darwin13.2.0 --(snip) Thread model: posix gcc version 4.8.3 (GCC) 

This question seems to be addressed here:

https://github.com/Homebrew/homebrew-science/issues/992

but there seems to be no corresponding solution.

+8
homebrew gfortran
source share
1 answer

I just had to reinstall gcc:

 brew uninstall gcc brew install gcc 

After that, veclibfort is installed perfectly. thanks kmm for the answer. He posted as a comment, I am sending as an answer, which I can mark as accepted.

+7
source share

All Articles