svg problem during cairo build

Riccardo Mottola rmottola at opencsw.org
Sun Jun 21 00:34:57 CEST 2015


Hi,

in my effort to update cairo, on solaris 10 I get the following problem:


source='any2ppm.c' object='any2ppm-any2ppm.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../build/depcomp \
/opt/solarisstudio12.3/bin/cc -DHAVE_CONFIG_H -I. -I..  -I. -I./pdiff 
-I../boilerplate -I../util/cairo-missing -I../util/cairo-script -I../src 
-I../src -D_REENTRANT -I/opt/csw/include/pixman-1       
-I/opt/csw/include -I/opt/csw/include/freetype2   
-I/opt/csw/include/freetype2 -I/opt/csw/include    
-I/opt/csw/include/libpng16   -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include   -D_REENTRANT 
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API 
-I/opt/csw/include -erroff=E_ENUM_TYPE_MISMATCH_ARG 
-erroff=E_ENUM_TYPE_MISMATCH_OP 
-Wp,-D_FORTIFY_SOURCE=2                     -I/opt/csw/include 
-D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS 
-DXUSE_MTSAFE_API -I/opt/csw/include/poppler/glib 
-I/opt/csw/include/poppler -I/opt/csw/include/glib-2.0 
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/cairo 
-I/opt/csw/include -I/opt/csw/include/pixman-1 
-I/opt/csw/include/freetype2 -I/opt/csw/include/libpng16 
-I/opt/csw/include   -xO3 -m32 -xarch=sparc -xc99=all 
-D_POSIX_PTHREAD_SEMANTICS -c -o any2ppm-any2ppm.o `test -f 'any2ppm.c' 
|| echo './'`any2ppm.c
"/opt/csw/include/glib-2.0/gobject/gparam.h", line 157: warning: integer 
overflow detected: op "<<"
"/opt/csw/include/poppler/glib/poppler-structure-element.h", line 253: 
warning: typedef redeclared: PopplerTextSpan
"any2ppm.c", line 72: cannot find include file: <librsvg/rsvg.h>
"any2ppm.c", line 74: cannot find include file: <librsvg/rsvg-cairo.h>
"any2ppm.c", line 423: undefined symbol: RsvgHandle
"any2ppm.c", line 423: undefined symbol: handle
"any2ppm.c", line 424: undefined symbol: RsvgDimensionData
<...>

the referenced headers do exist:
rmottola at unstable10s [unstable10s]:/opt/csw/include > find . -name rsvg.h
./librsvg-2.0/librsvg/rsvg.h

Any clues? SVG seems to get detected during configure.

cairo used to build since there is an older package there, I am 
wondering about all these problems.

Everything I got as far in cairo (updated dependencies, gtk-doc 
disabled, minor revision update) is committed.

Riccardo


More information about the maintainers mailing list