<div dir="ltr">Hi,<div><br></div><div>I am trying to compile grass on a fresh mac (yosemite) and the configure fails with</div><div><span style="font-family:Menlo;font-size:11px"><br></span></div>checking for gdal-config... /Library/Frameworks/GDAL.Framework/Versions/1.11/Programs/gdal-config<br><br>configure: error: *** Unable to locate GDAL library.<div><br></div><div><br></div><div>and this is the configure log:</div><div><br></div><div><div>configure:6036: checking whether to use GDAL</div><div>configure:6054: checking for gdal-config</div><div>configure:6116: gcc -o conftest -g -O2   -arch i386 -arch x86_64 -I/Library/Frameworks/GDAL.framework/Versions/1.11/Headers    -arch i386 -arch x86_64  conftest.c  -framework GDAL 1>&5</div><div>configure:6112:1: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>^~~~~~~~ ~~~~~~~~~~~~~~~~~~</div><div>1 warning generated.</div><div>ld: framework not found GDAL</div><div>configure:6112:1: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>^~~~~~~~ ~~~~~~~~~~~~~~~~~~</div><div>1 warning generated.</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>configure: failed program was:</div><div>#line 6109 "configure"</div><div>#include "confdefs.h"</div><div>#include <gdal.h></div><div>int main() {</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>; return 0; }</div><div>configure:6132: gcc -o conftest -g -O2   -arch i386 -arch x86_64 -I/Library/Frameworks/GDAL.framework/Versions/1.11/Headers    -arch i386 -arch x86_64  conftest.c  -framework GDAL  1>&5</div><div>configure:6128:1: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>^~~~~~~~ ~~~~~~~~~~~~~~~~~~</div><div>1 warning generated.</div><div>ld: framework not found GDAL</div><div>configure:6128:1: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>^~~~~~~~ ~~~~~~~~~~~~~~~~~~</div><div>1 warning generated.</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>configure: failed program was:</div><div>#line 6125 "configure"</div><div>#include "confdefs.h"</div><div>#include <gdal.h></div><div>int main() {</div><div>GDALOpen("foo", GA_ReadOnly);</div><div>; return 0; }</div></div><div><br></div><div><br></div><div>I installed the GDAL framework from Michael's page and then from William's too. Nothing really helped. </div><div><br></div><div>Any idea? I was able to compile grass couple of months ago without problem on a different computer so I don't know why it doesn't work now.</div><div><br></div><div>Thanks,</div><div><br></div><div>Anna</div></div>