[Cairo] compiling on Slackware 9.0
Roman Bednarek
roman at mikronika.com.pl
Wed Aug 6 02:47:39 PDT 2003
On Mon, 4 Aug 2003, Owen Taylor wrote:
> On Mon, 2003-08-04 at 09:44, Roman Bednarek wrote:
> > Hi.
> > Has anyone compiled the library under slackware? I do not know much
> > about auto* tools, so I cannot find the couse of an error:
> > ./configure: line 17894: syntax error near unexpected token `LIBPIXREGION,'
> > ./configure: line 17894: `PKG_CHECK_MODULES(LIBPIXREGION, slim >= $SLIM_REQUIRED
> >
> > Maybe you can say what is missing? If not, could you describe more
> > precisily which tools and libraries are needed?
> > Thanks for any help.
>
> You seem to be missing /usr/share/aclocal/pkg.m4. This likely
> means that you dont' have pkg-config installed (I assume slackware 9 has
> it since it is a requirement for building glib/gtk+ these days.)
>
Thanks for your help everything is compiling fine now.
But every test program from xrtest crashes as an example xrtest, stack
under gdb:
#0 *INT_IcComposite (op=0 '\0', iSrc=0x0, iMask=0x80510e8, iDst=0x0,
xSrc=1073784128, ySrc=-1073744024, xMask=0, yMask=0, xDst=134541232,
yDst=0, width=0, height=134541232) at ic.c:882
#1 0x4005e758 in IcCompositeTrapezoids (op=3 '\003', src=0x0, dst=0x0,
xSrc=43, ySrc=36, traps=0x804efb0, ntraps=0) at ictrap.c:176
#2 0x40020ca9 in _cairo_surface_composite_trapezoids (
operator=CAIRO_OPERATOR_OVER, src=0x804cf90, dst=0x804cc00, xSrc=43,
ySrc=36, traps=0x804e538, num_traps=67) at cairo_surface.c:699
#3 0x4001c095 in _cairo_gstate_clip_and_composite_trapezoids (
gstate=0x804d008, src=0x804cf90, operator=CAIRO_OPERATOR_OVER,
dst=0x804cc00, traps=0xbffff830) at cairo_gstate.c:916
#4 0x4001bfc4 in _cairo_gstate_stroke (gstate=0x804d008) at
cairo_gstate.c:822
#5 0x4001a46e in cairo_stroke (cr=0x804ca48) at cairo.c:543
#6 0x0804902e in draw_shapes (xrs=0x804ca48, x=0, y=0, fill=0) at
xrtest.c:116
#7 0x0804917d in stroke_shapes (xrs=0x804ca48, x=0, y=0) at xrtest.c:154
#8 0x08049251 in win_draw (win=0xbffff910) at xrtest.c:230
#9 0x08048d15 in main (argc=1, argv=0xbffff994) at xrtest.c:41
#10 0x4010bbb4 in __libc_start_main () from /lib/libc.so.6
other test programs also crashes in INT_IcComposite.
What may be wrong? What can I check?
Roman Bednarek
More information about the cairo
mailing list