Good day.
I use the following software: inkscape-svn cairo-git poppler-git libpng-1.2.32 cairomm-git freetype2-cvs gtkmm-2.14.1 glibmm-2.18.0 on Slamd64-current. When I try to compile inkscape compilation is aborted on the following: <CONSOLE_LOG> make all-recursive make[1]: Entering directory `$HOME/tmp/src/inkscape-svn' Making all in src make[2]: Entering directory `$HOME/tmp/src/inkscape-svn/src' depbase=`echo sp-image.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/poppler -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DPOTRACE="potrace" -pthread -I/usr/local/include -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I../cxxtest -Werror=format-security -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT sp-image.o -MD -MP -MF $depbase.Tpo -c -o sp-image.o sp-image.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/libpng12/png.h:459, from sp-image.cpp:50: /usr/include/libpng12/pngconf.h:326: error: expected constructor, destructor, or type conversion before '.' token /usr/include/libpng12/pngconf.h:327: error: '__dont__' does not name a type make[2]: *** [sp-image.o] Error 1 make[2]: Leaving directory `$HOME/tmp/src/inkscape-svn/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `$HOME/tmp/src/inkscape-svn' make: *** [all] Error 2 </CONSOLE_LOG>
I check the 'pngconf.h' file and found that line-327 tries to avoid repeated inclusion of setjmp.h but this file is included in buildtool.cpp
My last successfull build of Inkscape was done 23 Aug 2008 (Help->About Inkscape).
I think that from that time something was changed in build chain and, of course, in source. May be I miss some dependencies? I be glad for any advice on problem.
P.S. Sorry, if my English is poor. --- WBW, Vladimir Lomov
participants (1)
-
Vladimir