<div dir="ltr">William, Jesús and others,<div style>I got a problem when compiling SAGA claiming, if I got it right, that GDAL framework is not found.</div><div style>Any hints?</div><div style>This is the last part of the compiling log:</div>
<div style><div>libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../../.. -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/Library/Frameworks/GDAL.framework/Headers -I/Library/Frameworks/PROJ.framework/Headers -fPIC -I../../../../src/saga_core -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -g -O2 -MT ogr_import.lo -MD -MP -MF .deps/ogr_import.Tpo -c ogr_import.cpp  -fno-common -DPIC -o .libs/ogr_import.o</div>
<div>libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../../.. -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/Library/Frameworks/GDAL.framework/Headers -I/Library/Frameworks/PROJ.framework/Headers -fPIC -I../../../../src/saga_core -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -g -O2 -MT ogr_import.lo -MD -MP -MF .deps/ogr_import.Tpo -c ogr_import.cpp -o ogr_import.o >/dev/null 2>&1</div>
<div>mv -f .deps/ogr_import.Tpo .deps/ogr_import.Plo</div><div>/bin/sh ../../../../libtool  --tag=CXX   --mode=link /usr/bin/clang -fPIC -I../../../../src/saga_core `gdal-config --cflags` -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG  -g -O2 -fPIC -shared -avoid-version `gdal-config --libs` -L/Library/Frameworks/GDAL.framework/unix/lib -L/Library/Frameworks/PROJ.framework/unix/lib -arch x86_64 -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -lstdc++ -o <a href="http://libio_gdal.la">libio_gdal.la</a> -rpath /usr/local/lib/saga gdal_driver.lo gdal_export.lo gdal_export_geotiff.lo gdal_import.lo gdal_import_netcdf.lo MLB_Interface.lo ogr_driver.lo ogr_export.lo ogr_export_kml.lo ogr_import.lo ../../../../src/saga_core/saga_api/<a href="http://libsaga_api.la">libsaga_api.la</a> </div>
<div>libtool: link: /usr/bin/clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libio_gdal.dylib  .libs/gdal_driver.o .libs/gdal_export.o .libs/gdal_export_geotiff.o .libs/gdal_import.o .libs/gdal_import_netcdf.o .libs/MLB_Interface.o .libs/ogr_driver.o .libs/ogr_export.o .libs/ogr_export_kml.o .libs/ogr_import.o   -framework GDAL -L/Library/Frameworks/GDAL.framework/unix/lib -L/Library/Frameworks/PROJ.framework/unix/lib ../../../../src/saga_core/saga_api/.libs/libsaga_api.dylib -L/usr/local/lib/wxPython-2.9.4.0/lib -lwx_osx_cocoau-2.9 -lstdc++  -O2 -arch x86_64 -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk   -framework GDAL -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime -install_name  /usr/local/lib/saga/libio_gdal.dylib  -Wl,-single_module</div>
<div>ld: framework not found GDAL</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>make[5]: *** [<a href="http://libio_gdal.la">libio_gdal.la</a>] Error 1</div><div>make[4]: *** [all-recursive] Error 1</div>
<div>make[3]: *** [all-recursive] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Mar 26, 2013 at 4:14 PM, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com" target="_blank">woklist@kyngchaos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ah, if you're having problems there also, I suggest downloading and installing wxPython from <a href="http://wxpython.org" target="_blank">wxpython.org</a>.  wxPython includes wxWidgets.  Saves a long compilation.  Then you just need to run a command before building SAGA (instead of building wxWidgets steps):<br>

<br>
export PATH="/usr/local/lib/wxPython-2.9.4.0/bin:$PATH"<br>
<br>
On Mar 26, 2013, at 9:59 AM, Jesus Munoz Serrano wrote:<br>
<br>
> Thanks a lot william and sorry about my questions. I'm not used to work with the terminal nor python.<br>
> So I downloaded and installed the UnixImageIO framework. But now, I have to build wx-widgets. I created build-cocoa-debug, then cd build-cocoa-debug and run:<br>
><br>
> ../configure --enable-unicode --enable-debug --enable-shared --enable-monolithic --with-osx_cocoa --enable-macosx_arch=x86_64 \<br>
> --with-macosx-version-min=10.7 \<br>
> --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk<br>
><br>
> I am getting the same error again. Also I think I am gonna have the same problem building GNU packages and SAGA. There is any easier way to do it? Sorry again for the questions.<br>
><br>
> Jesus<br>
><br>
><br>
><br>
><br>
> On 26 Mar 2013, at 15:38, William Kyngesburye wrote:<br>
><br>
>> UnixImageIO framework<br>
<div class="im">><br>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
</div>First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?<br>
Second Pogril: I don't know.  Why IS life like sticking your head in a bucket filled with hyena offal?<br>
First Pogril: I don't know either.  Wretched, isn't it?<br>
<br>
-HitchHiker's Guide to the Galaxy<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br></div>