title: gfortran: error trying to exec 'f951': execvp: No such file or directory
body: <p>I'm trying to compile a code found on the internet. Actually I'm trying to compile the code found at <a href="http://www.cs.berkeley.edu/~fowlkes/BSE/" rel="noreferrer">http://www.cs.berkeley.edu/~fowlkes/BSE/</a>.</p>
  
  <p>I tried to install gfortran and all the other libraries that are needed for compiling it in my MAC. But when I run the command <strong>make</strong> I get the following error:</p>
  
  <pre><code>$ make
  (cd trlan &amp;&amp; make -f Makefile.gcc)
  gfortran -O3 -ffixed-line-length-132 -c dsort2.f
  gfortran: error trying to exec 'f951': execvp: No such file or directory
  make[1]: *** [dsort2.o] Error 1
  make: *** [trlan/libtrlan.a] Error 2
  </code></pre>
  
  <p>I believed that the error is related to the version of my c++ compiler, that is not compatible with gfortran.</p>
  
  <p>When I run the command <strong>gcc --version</strong>:</p>
  
  <pre><code>$ gcc --version
  i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  </code></pre>
  
  <p>And when I run the command <strong>gfortran --version</strong>:</p>
  
  <pre><code>$ gfortran --version
  GNU Fortran (GCC) 4.8.0 20120930 (experimental)
  </code></pre>
  
  <p>The Makefile under the directory that I'm running the command <strong>make</strong> is here: <a href="https://www.dropbox.com/s/q7mxvhnqg62ioum/Makefile.gcc" rel="noreferrer">https://www.dropbox.com/s/q7mxvhnqg62ioum/Makefile.gcc</a></p>
  
  <p>The Makefile under the directory trlan is here: <a href="https://www.dropbox.com/s/jydwpkg3f1upbgf/Makefile.gcc" rel="noreferrer">https://www.dropbox.com/s/jydwpkg3f1upbgf/Makefile.gcc</a></p>
  
  <p>Anyone has an idea of how to solve this problem or how to find tools that can help me solve it?</p>
  
  <p>I'm trying this:
  <a href="http://eftrunk.blogspot.com/2011/11/how-to-fix-error-trying-to-exec-f951.html" rel="noreferrer">http://eftrunk.blogspot.com/2011/11/how-to-fix-error-trying-to-exec-f951.html</a></p>