Re: [Tuxpaint-devel] glibc detected ... double free or corruption
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Pere P. i C. <pe...@fo...> - 2007-07-02 06:27:33
|
El dg 01 de 07 del 2007 a les 21:33 -0700, en/na Bill Kendrick va
escriure:
> On Sun, Jul 01, 2007 at 10:03:24PM +0200, Pere Pujal i Carabantes wrote:
> > I can't compile with svg (debian unstable)
>
> Can you try with "make oldsvg"? :) Or does neither 'make' nor
> 'make oldsvg' work?
>
>
Don't work. I have installed libcairo2-dev, of course, but get the
following:
pere@hola:~/CVS/tuxpaint$ make
...Compiling Tux Paint from source...
cc -O2 -W -Wall -fno-common -ffloat-store -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes `src/test-option.sh
-Wdeclaration-after-statement` -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/cairo -Isrc/mouse -DLARGE_CURSOR_SHAPES
-DDATA_PREFIX=\"/usr/local/share/tuxpaint/\" -D__SOUND -D__SVG -D__SVG
-DDOC_PREFIX=\"/usr/local/share/doc/tuxpaint/\" -DLOCALEDIR=
\"/usr/local/share/locale/\" -DIMDIR=\"/usr/local/share/im/\" -DCONFDIR=
\"/usr/local/etc/tuxpaint/\" -DVER_VERSION=\"0.9.17\" -DVER_DATE=\"`date
+"%Y-%m-%d"`\" -DNO_MAEMOFLAG \
-c src/tuxpaint.c -o obj/tuxpaint.o
src/tuxpaint.c:350:17: error: svg.h: No such file or directory
src/tuxpaint.c:351:23: error: svg-cairo.h: No such file or directory
src/tuxpaint.c:353:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c:354:2: error: #error "If you installed Cairo, libSVG or
svg-cairo from packages, be sure"
src/tuxpaint.c:355:2: error: #error "to get the development package, as
well!"
src/tuxpaint.c:356:2: error: #error "(e.g., 'libcairo2-dev.rpm')"
src/tuxpaint.c:357:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c: In function 'load_svg':
src/tuxpaint.c:16283: error: 'svg_cairo_t' undeclared (first use in this
function)
src/tuxpaint.c:16283: error: (Each undeclared identifier is reported
only once
src/tuxpaint.c:16283: error: for each function it appears in.)
[...snip...]
pere@hola:~/CVS/tuxpaint$ make oldsvg
Building with CAIRO1 SVG SUPPORT
make SVG_LIB="-lcairo -lsvg -lsvg-cairo" OLDSVGFLAG=OLD_SVG
make[1]: Entering directory `/mnt/hda2/home/pere/CVS/tuxpaint'
...Compiling Tux Paint from source...
cc -O2 -W -Wall -fno-common -ffloat-store -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes `src/test-option.sh
-Wdeclaration-after-statement` -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/cairo -Isrc/mouse -DLARGE_CURSOR_SHAPES
-DDATA_PREFIX=\"/usr/local/share/tuxpaint/\" -D__SOUND -D__SVG -DOLD_SVG
-DDOC_PREFIX=\"/usr/local/share/doc/tuxpaint/\" -DLOCALEDIR=
\"/usr/local/share/locale/\" -DIMDIR=\"/usr/local/share/im/\" -DCONFDIR=
\"/usr/local/etc/tuxpaint/\" -DVER_VERSION=\"0.9.17\" -DVER_DATE=\"`date
+"%Y-%m-%d"`\" -DNO_MAEMOFLAG \
-c src/tuxpaint.c -o obj/tuxpaint.o
src/tuxpaint.c:350:17: error: svg.h: No such file or directory
src/tuxpaint.c:351:23: error: svg-cairo.h: No such file or directory
src/tuxpaint.c:353:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c:354:2: error: #error "If you installed Cairo, libSVG or
svg-cairo from packages, be sure"
src/tuxpaint.c:355:2: error: #error "to get the development package, as
well!"
src/tuxpaint.c:356:2: error: #error "(e.g., 'libcairo2-dev.rpm')"
src/tuxpaint.c:357:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c: In function 'load_svg':
src/tuxpaint.c:16283: error: 'svg_cairo_t' undeclared (first use in this
function)
[...snip...]
According to debian packages (http://www.debian.org/distrib/packages),
there is not any file called svg-cairo.h in any package in unstable and
there is just a svg.h in libwmf-dev that is installed in case of, but I
think is not related to this error.
The files contained in libcairo2-dev in debian unstable are this:
/.
/usr
/usr/lib
/usr/lib/libcairo.la
/usr/lib/pkgconfig
/usr/lib/pkgconfig/cairo.pc
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo-xlib-xrender.pc
/usr/lib/pkgconfig/cairo-xlib.pc
/usr/lib/libcairo.a
/usr/share
/usr/share/doc
/usr/share/doc/libcairo2-dev
/usr/share/doc/libcairo2-dev/README.gz
/usr/share/doc/libcairo2-dev/TODO.gz
/usr/share/doc/libcairo2-dev/NEWS.gz
/usr/share/doc/libcairo2-dev/AUTHORS.gz
/usr/share/doc/libcairo2-dev/copyright
/usr/share/doc/libcairo2-dev/changelog.gz
/usr/share/doc/libcairo2-dev/changelog.Debian.gz
/usr/include
/usr/include/cairo
/usr/include/cairo/cairo-ft.h
/usr/include/cairo/cairo-ps.h
/usr/include/cairo/cairo-features.h
/usr/include/cairo/cairo-xlib-xrender.h
/usr/include/cairo/cairo-deprecated.h
/usr/include/cairo/cairo-pdf.h
/usr/include/cairo/cairo-svg.h
/usr/include/cairo/cairo-xlib.h
/usr/include/cairo/cairo.h
/usr/lib/libcairo.so
|