[Qgis-user] SAGA-GIS on OS X 10.7

William Kyngesburye woklist at kyngchaos.com
Tue Mar 26 07:38:31 PDT 2013


You can get JasPer from my UnixImageIO framework, which QGIS also uses.

change the script:

FEATURES="--enable-debug --disable-openmp"
CXX=/usr/bin/clang++
DEFINES="-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/Library/Frameworks/UnixImageIO.framework/Headers"
GDAL_H="-I/Library/Frameworks/GDAL.framework/Headers"
PROJ_H="-I/Library/Frameworks/PROJ.framework/Headers"
JASPER_H="-I/Library/Frameworks/UnixImageIO.framework/Headers"
GDAL_SRCH="-L/Library/Frameworks/GDAL.framework/unix/lib"
PROJ_SRCH="-L/Library/Frameworks/PROJ.framework/unix/lib"
JASPER_LIB="-L/Library/Frameworks/UnixImageIO.framework/unix/lib"
SDK="-arch x86_64 -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
./configure $FEATURES CXX="$CXX" CPPFLAGS="$SDK $DEFINES $GDAL_H $PROJ_H $JASPER_H" LDFLAGS="$GDAL_SRCH $PROJ_SRCH $JASPER_LIB $SDK"


On Mar 26, 2013, at 9:06 AM, Jesus Munoz Serrano wrote:

> Hi all
> 
> I am trying to install SAGA on a OS X 10.7 to use it via SEXTANTE. I am following the commands on:
> 
> http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X
> 
> but I get an error when I try to build JasPer. This tutorial says that I should go to the terminal, cd to the folder jasper-1.900.1 and enter the following commands:
> 
> ./configure
> make
> sudo make install
> 
> 
> When I enter "./configure" it gives me the following error:
> 
> 
> checking build system type... i686-apple-darwin11.4.2
> checking host system type... i686-apple-darwin11.4.2
> checking target system type... i686-apple-darwin11.4.2
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... no
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
> 
> 
> 
> any help???
> 
> 
> thanks!!!!!
>  
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy





More information about the Qgis-user mailing list