Trying to build inkscape-0.45.1 on Linux fails for me.
make[2]: Entering directory `/scratch2/pkgsrc/graphics/inkscape/work.puget/inkscape-0.45.1/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../cxxtest -I/usr/include -I/usr/include/freetype2 -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -I/usr/include -I/usr/include/freetype2 -MT helper/sp-marshal.o -MD -MP -MF "helper/.deps/sp-marshal.Tpo" \ -c -o helper/sp-marshal.o `test -f 'helper/sp-marshal.cpp' || echo './'`helper/sp-marshal.cpp; \ then mv -f "helper/.deps/sp-marshal.Tpo" "helper/.deps/sp-marshal.Po"; \ else rm -f "helper/.deps/sp-marshal.Tpo"; exit 1; \ fi helper/sp-marshal.cpp:60: error: parse error before `__attribute__' helper/sp-marshal.cpp: In function `void sp_marshal_VOID__POINTER_BOOLEAN(...) ': helper/sp-marshal.cpp:70: error: syntax error before `;' token helper/sp-marshal.cpp:71: error: `closure' undeclared (first use this function) helper/sp-marshal.cpp:71: error: (Each undeclared identifier is reported only once for each function it appears in. helper/sp-marshal.cpp:74: error: parse error before `if' helper/sp-marshal.cpp:79: error: ISO C++ forbids declaration of `data2' with no type helper/sp-marshal.cpp:79: error: conflicting types for `int data2' helper/sp-marshal.cpp:72: error: previous declaration as `void*data2' helper/sp-marshal.cpp:79: error: `param_values' undeclared (first use this function) helper/sp-marshal.cpp:80: error: parse error before `}' token helper/sp-marshal.cpp:84: error: ISO C++ forbids declaration of `data2' with no type
...
My gcc is:
$ g++ --version | head -1 g++ (GCC) 3.3.5
Is that 3.3.5 not good enough?
I also have installed:
boehm-gc-6.4 gtkmm-2.12.3 glibmm-2.14.2 glibc-2.3.4 libsigc++-2.1.1 glib2-2.14.5 cairomm-1.4.6 cairo-1.4.12 gtk2+-2.12.5
Jeremy C. Reed
p.s. I have one patch for src/seltrans.h
- SigC::Connection _sel_changed_connection; - SigC::Connection _sel_modified_connection; + sigc::connection _sel_changed_connection; + sigc::connection _sel_modified_connectio