[waimea] Cairo changes cause errors with Waimea

Walt Nelson wnelsonjr at comcast.net
Tue May 24 06:42:45 EEST 2005


The current changes to cairo have caused waimea to not compile correctly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     e.=20

But then I get another error I cannot solve:

2. When I compiled the souce with g++3.3 i got some different error
message(but at the same location), but now, with g+-3.4 it sounds a more
reasonable error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DWAIMEA_PATH=3D
\"/opt/gnome2/share/waimea\" -DXTHREADS -I/usr/include/freetype2
-I/opt/gnome2/include/cairo -I/opt/gnome2/include -I/usr/X11R6/include
-I/usr/include/libpng12      -I/usr/X11R6/include -DSHAPE  -DRENDER
-DXTHREADS -I/opt/gnome2/include -I/usr/X11R6/include   -DRANDR -DPNG
-I/usr/include/libpng12   -DSVG -DXTHREADS -I/opt/gnome2/include
-I/usr/include/freetype2 -I/opt/gnome2/include/cairo
-I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libpng12
-DXCURSOR -DXTHREADS -I/opt/gnome2/include -I/usr/X11R6/include       -g
-O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.cc' || echo './'`main.cc; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from Style.hh:39,
                 from Resources.hh:47,
                 from Screen.hh:52,
                 from Waimea.hh:93,
                 from main.cc:34:
Render.hh:505: erreur: ISO C++ interdit la d=C3=A9claration de =C2=AB cairo=
_font_t
=C2=BB sans type
Render.hh:505: erreur: expected `;' avant un =C3=A9l=C3=A9ment lexical =C2=
=AB * =C2=BB
make[2]: *** [main.o] Erreur 1
make[2]: quittant le r=C3=A9pertoire =C2=AB /home/msoos/cvs/waimea/src =C2=
=BB
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le r=C3=A9pertoire =C2=AB /home/msoos/cvs/waimea =C2=BB
make: *** [all] Erreur 2

It's french, but it says that it is not allowed to declare cairo_font_t
without a type. I have no clue what that means. I got the following
things installed:

*libsvg =20
*libsvg-cairo
*cairo
*fontconfig
*glitz
*libpixman
*Render
*Xrender

All from cvs, all around yesterday or so. I use jhbuild for most of
these things to be build (libsvg and libsvg-cairo could not be build by
jhbuild, because it said that the module was not available).

When configuring waimea I get the following message:

Finished configure:
  without thread
  with    shape
  without xinerama
  with    render
  with    randr
  with    png
  with    svg
  with    xcursor

I guess that sounds pretty OK.

Please help! (In turn I can help too, since I can program since the age
of 8 - and I am 23 now)

Mate Soos

PS: is there anyting like cairo-fonts that need to be installed?





More information about the waimea mailing list