title: Using Gmake install on 64-bit Mac?
body: <p>I am following a protocol from EECS UC Berkeley, and the step that I need help with is: </p>
  
  <blockquote>
    <p>(3) Download and untar the boundary detection benchmark code. Edit the matlab function Dataset/bsdsRoot.m so that it points to the BSDS300 directory created in the previous step.  Now run 'gmake install' from the root code directory. </p>
  </blockquote>
  
  <p>I have been following the steps from this guideline, and I've linked the source that I've been using. I have XCode and Mac, but I am having problems with the gmake install. I did the changes as suggested by <a href="https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/segbench/macnotes.txt" rel="nofollow noreferrer">https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/segbench/macnotes.txt</a> , but I am still getting plenty of errors. If I do <code>mexSuffix := mexmaci 64</code> with the ifeq check for the type of machine/system (as stipulated in the changes for Mac), I get a Permission Denied. If I do not use the ifeq check, then this is what I get: </p>
  
  <pre><code>Siddharths-MacBook-Pro-2:segbench Eruption$ sudo gmake install
  make[1]: execvp: ../Util/gethosttype: Permission denied
  g++ -g -Wall -fPIC -I../include -O3 -DNOBLAS -c Matrix.cc -o build//Matrix.o
  In file included from Matrix.cc:8:
  ./Matrix.hh:151:19: error: friend declaration specifying a default argument must
        be a definition
      friend Matrix rot90 (const Matrix&amp; a, int k = 1);
                    ^
  ./Matrix.hh:183:19: error: friend declaration specifying a default argument must be a definition friend Matrix diag (const Matrix&amp; a, int k = 0);
  Matrix.cc:13:10: fatal error: 'ieee754.h' file not found #include &lt;ieee754.h&gt;
  </code></pre>
  
  <p>I am not sure what I need to be doing. If someone has experience using the EECS Berkeley Benchmarks on a 64-bit Mac, that would be really helpful. Thank you so much! Here's the link to the question that I had been following as well. <a href="https://stackoverflow.com/questions/11299958/how-to-run-gmake-install">How to run &quot;gmake install&quot;?</a></p>