error: librsvg/rsvg-cairo.h: No such file or directory
Posted: 2010-12-11T15:25:20-07:00
Hi,
I'm trying to build ImageMagick on a shared host (dreamhost). I've installed cairo-1.10.0 and librsvg-2.9.5 but I'm getting the error "librsvg/rsvg-cairo.h: No such file or directory" (followed by other errors). Any ideas?
Thanks!
Dan
---
CC coders/magick_libMagickCore_la-svg.lo
coders/svg.c:95:32: error: librsvg/rsvg-cairo.h: No such file or directory
coders/svg.c: In function 'ReadSVGImage':
coders/svg.c:2742: error: 'cairo_surface_t' undeclared (first use in this function)
coders/svg.c:2742: error: (Each undeclared identifier is reported only once
coders/svg.c:2742: error: for each function it appears in.)
coders/svg.c:2743: error: 'cairo_surface' undeclared (first use in this function)
coders/svg.c:2745: error: 'cairo_t' undeclared (first use in this function)
coders/svg.c:2746: error: 'cairo_info' undeclared (first use in this function)
coders/svg.c:2751: error: 'RsvgDimensionData' undeclared (first use in this function)
coders/svg.c:2752: error: expected ';' before 'dimension_info'
coders/svg.c:2804: warning: implicit declaration of function 'rsvg_handle_get_dimensions'
coders/svg.c:2804: error: 'dimension_info' undeclared (first use in this function)
coders/svg.c:2842: warning: implicit declaration of function 'cairo_image_surface_create_for_data'
coders/svg.c:2843: error: 'CAIRO_FORMAT_ARGB32' undeclared (first use in this function)
coders/svg.c:2844: error: expected expression before ')' token
coders/svg.c:2850: warning: implicit declaration of function 'cairo_create'
coders/svg.c:2851: warning: implicit declaration of function 'cairo_set_operator'
coders/svg.c:2851: error: 'CAIRO_OPERATOR_CLEAR' undeclared (first use in this function)
coders/svg.c:2852: warning: implicit declaration of function 'cairo_paint'
coders/svg.c:2853: error: 'CAIRO_OPERATOR_OVER' undeclared (first use in this function)
coders/svg.c:2854: warning: implicit declaration of function 'rsvg_handle_render_cairo'
coders/svg.c:2855: warning: implicit declaration of function 'cairo_destroy'
coders/svg.c:2856: warning: implicit declaration of function 'cairo_surface_destroy'
make[1]: *** [coders/magick_libMagickCore_la-svg.lo] Error 1
I'm trying to build ImageMagick on a shared host (dreamhost). I've installed cairo-1.10.0 and librsvg-2.9.5 but I'm getting the error "librsvg/rsvg-cairo.h: No such file or directory" (followed by other errors). Any ideas?
Thanks!
Dan
---
CC coders/magick_libMagickCore_la-svg.lo
coders/svg.c:95:32: error: librsvg/rsvg-cairo.h: No such file or directory
coders/svg.c: In function 'ReadSVGImage':
coders/svg.c:2742: error: 'cairo_surface_t' undeclared (first use in this function)
coders/svg.c:2742: error: (Each undeclared identifier is reported only once
coders/svg.c:2742: error: for each function it appears in.)
coders/svg.c:2743: error: 'cairo_surface' undeclared (first use in this function)
coders/svg.c:2745: error: 'cairo_t' undeclared (first use in this function)
coders/svg.c:2746: error: 'cairo_info' undeclared (first use in this function)
coders/svg.c:2751: error: 'RsvgDimensionData' undeclared (first use in this function)
coders/svg.c:2752: error: expected ';' before 'dimension_info'
coders/svg.c:2804: warning: implicit declaration of function 'rsvg_handle_get_dimensions'
coders/svg.c:2804: error: 'dimension_info' undeclared (first use in this function)
coders/svg.c:2842: warning: implicit declaration of function 'cairo_image_surface_create_for_data'
coders/svg.c:2843: error: 'CAIRO_FORMAT_ARGB32' undeclared (first use in this function)
coders/svg.c:2844: error: expected expression before ')' token
coders/svg.c:2850: warning: implicit declaration of function 'cairo_create'
coders/svg.c:2851: warning: implicit declaration of function 'cairo_set_operator'
coders/svg.c:2851: error: 'CAIRO_OPERATOR_CLEAR' undeclared (first use in this function)
coders/svg.c:2852: warning: implicit declaration of function 'cairo_paint'
coders/svg.c:2853: error: 'CAIRO_OPERATOR_OVER' undeclared (first use in this function)
coders/svg.c:2854: warning: implicit declaration of function 'rsvg_handle_render_cairo'
coders/svg.c:2855: warning: implicit declaration of function 'cairo_destroy'
coders/svg.c:2856: warning: implicit declaration of function 'cairo_surface_destroy'
make[1]: *** [coders/magick_libMagickCore_la-svg.lo] Error 1