[GRASS-dev] odd configure error on MacOS X

William Kyngesburye woklist at kyngchaos.com
Fri Jul 29 09:19:11 EDT 2011


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