[GRASS-dev] odd configure error on MacOS X

Michael Barton michael.barton at asu.edu
Fri Jul 29 12:14:54 EDT 2011


I've been compiling GRASS with William's frameworks and have had no problems with configuring and compiling for cairo. I'm including my config string below.

However, displays will not render using cairo in GRASS 6.x. They will render in GRASS 7.

Michael


./configure --with-freetype --with-freetype-includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2 /Library/Frameworks/FreeType.framework/unix/include" --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj --with-geos=/Library/Frameworks/GEOS.framework/Programs/geos-config --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-cairo --with-cairo-includes="/Library/Frameworks/cairo.framework/unix/include/cairo /Library/Frameworks/cairo.framework/unix/include" --with-cairo-libs=/Library/Frameworks/cairo.framework/unix/lib --with-cairo-ldflags="-lcairo" --without-postgres --without-mysql --with-odbc --with-sqlite --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib --with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-x --with-cxx --with-opengl=aqua --without-readline --prefix=/Applications/GRASS --enable-macosx-app --with-python --with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.12.0/bin/wx-config --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers /Library/Frameworks/Tk.framework/Headers /Library/Frameworks/Tk.framework/PrivateHeaders" --with-tcltk-libs="/usr/local/tcltk_active/lib" --with-macosx-archs="i386 x86_64"

____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jul 29, 2011, at 3:09 PM, <grass-dev-request at lists.osgeo.org> wrote:

> Date: Fri, 29 Jul 2011 08:19:11 -0500
> From: William Kyngesburye <woklist at kyngchaos.com>
> Subject: Re: [GRASS-dev] odd configure error on MacOS X
> To: Dylan Beaudette <dylan.beaudette at gmail.com>
> Cc: grass developers <grass-dev at lists.osgeo.org>
> Message-ID: <FC1592CA-19E0-4BF2-82D2-F95C109B6711 at kyngchaos.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Jul 29, 2011, at 3:41 AM, Dylan Beaudette wrote:
> 
>> It seems more complicated that I thought. After fixing the includes,
>> to use the KingChaos Frameworks, recompiling results in:
>> 
>> In file included from Graph.c:19:
>> /Library/Frameworks/cairo.framework/unix/include/cairo/cairo-svg.h:79:3:
>> error: #error Cairo was not compiled with support for the svg backend
>> make: *** [OBJ.i386-apple-darwin9.8.0/Graph.o] Error 1
>> 
>> Can SVG be disabled somehow?
>> 
>> Dylan
> 
> Odd, my cairo framework svg support.  cairo-features.h has:
> 
> #define CAIRO_HAS_SVG_SURFACE 1
> 
> 
> FYI, I configure GRASS for my cairo framework with (note the *2* include dirs):
> 
> --with-cairo --with-cairo-includes="/Library/Frameworks/cairo.framework/unix/include/cairo /Library/Frameworks/cairo.framework/unix/include" --with-cairo-libs=/Library/Frameworks/cairo.framework/unix/lib --with-cairo-ldflags="-lcairo" \
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> Earth: "Mostly harmless"
> 
> - revised entry in the HitchHiker's Guide to the Galaxy
> 



More information about the grass-dev mailing list