libgnomecanvasmm-2.5 won't build

"sean darcy" <[email protected]> Sun, 15 Feb 2004 15:34:57 -0500
Newsgroups gmane.comp.gnome.gnomemm
Message-ID <[email protected]>
In my attempt to build  cdrdao, I'm wending my way through the dependencies. 
For a reason I now can't remember, the stable versions didn't build, so I'm 
working though the unstable.  All built and installed OK,  until 
libgnomecanvasmm, the dependency for libgnomeuimm, the last step before I 
can build cdrdao.

libgnomemm-2.5 and libgnomecanvas-2.5.3 is installed. I'm using gcc-3.3 and 
libsigc++-1.9.14.  I tried the libgnomecanvasmm tarball and cvs.  They both 
died here:

......................................
make[4]: Entering directory 
`/usr/src/redhat/BUILD/libgnomecanvasmm-2.5.0/libgnomecanvas/libgnomecanvasmm'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H 
-DG_LOG_DOMAIN=\"libgnomecanvasmm\"  -I../../libgnomecanvas 
-I../../libgnomecanvas -I/usr/include/gtkmm-2.3 -I/usr/lib/gtkmm-2.3/include 
-I/usr/include/glibmm-2.3 -I/usr/lib/glibmm-2.3/include 
-I/usr/include/gdkmm-2.3 -I/usr/lib/gdkmm-2.3/include 
-I/usr/include/pangomm-1.3 -I/usr/include/atkmm-1.3 -I/usr/include/gtk-2.0 
-I/usr/include/sigc++-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include 
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 
-I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 
-I/usr/include/libart-2.0   -march=athlon-xp -m3dnow -msse -mmmx 
-mfpmath=sse -Os  -MT canvas.lo -MD -MP -MF ".deps/canvas.Tpo" \
  -c -o canvas.lo `test -f 'canvas.cc' || echo './'`canvas.cc; \
then mv -f ".deps/canvas.Tpo" ".deps/canvas.Plo"; \
else rm -f ".deps/canvas.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libgnomecanvasmm\" 
-I../../libgnomecanvas -I../../libgnomecanvas -I/usr/include/gtkmm-2.3 
-I/usr/lib/gtkmm-2.3/include -I/usr/include/glibmm-2.3 
-I/usr/lib/glibmm-2.3/include -I/usr/include/gdkmm-2.3 
-I/usr/lib/gdkmm-2.3/include -I/usr/include/pangomm-1.3 
-I/usr/include/atkmm-1.3 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2 -I/usr/include/atk-1.0 
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -march=athlon-xp 
-m3dnow -msse -mmmx -mfpmath=sse -Os -MT canvas.lo -MD -MP -MF 
.deps/canvas.Tpo -c canvas.cc  -fPIC -DPIC -o .libs/canvas.o
canvas.cc: In function `void
   <unnamed>::Canvas_signal_draw_background_callback(GnomeCanvas*,
   GdkDrawable*, int, int, int, int, void*)':
canvas.cc:90: error: ISO C++ forbids declaration of `Slot5' with no type
canvas.cc:90: error: template-id `Slot5<void, const
   Glib::RefPtr<Gdk::Drawable>&, int, int, int, int>' used as a declarator
canvas.cc:90: error: syntax error before `;' token
canvas.cc:97: error: `SlotNode' undeclared in namespace `SigC'
canvas.cc:97: error: syntax error before `=' token
canvas.cc: In function `void
   <unnamed>::Canvas_signal_render_background_callback(GnomeCanvas*,
   GnomeCanvasBuf*, void*)':
canvas.cc:124: error: ISO C++ forbids declaration of `Slot1' with no type
canvas.cc:124: error: template-id `Slot1<void, GnomeCanvasBuf*>' used as a
   declarator
canvas.cc:124: error: syntax error before `;' token
canvas.cc:131: error: `SlotNode' undeclared in namespace `SigC'
canvas.cc:131: error: syntax error before `=' token
make[4]: *** [canvas.lo] Error 1
make[4]: Leaving directory

_________________________________________________________________
Get some great ideas here for your sweetheart on Valentine's Day - and 
beyond. http://special.msn.com/network/celebrateromance.armx