On 16/02/2012 21:51, Nicolas Dufour wrote:
I've just found out that Inkscape no longer compiles on Debian Squeeze (Crunch Bang Linux variant, with back-ports), Inkscape trunk revision 10990. It fails on the first file with the following message:
CXX arc-context.o In file included from /usr/include/glibmm-2.4/glibmm/balancedtree.h:29, from /usr/include/glibmm-2.4/glibmm.h:83, from ./io/inkscapestream.h:14, from ./xml/repr.h:24, from display/canvas-grid.h:15, from sp-namedview.h:26, from arc-context.cpp:30: /usr/include/glib-2.0/glib/gtree.h:28:2: error: #error "Only <glib.h> can be included directly."
Last time it compiled correctly was with revision 10962 (I use it on a rather slow netbook that is not updated it as regularly as my other computers or VMs...)
Squeeze uses libgk2-2.20.1 and libglib2-2.24.2 . Maybe it's too old for the trunk?
Same build failure for Maverick builds of trunk PPA: https://launchpad.net/~inkscape.dev/+archive/trunk/+packages
https://launchpad.net/~inkscape.dev/+archive/trunk/+build/3217116/+files/buildlog_ubuntu-maverick-i386.inkscape-trunk_1%3A0.48%2Bdevel%2B10990%2B30%7Emaverick1_FAILEDTOBUILD.txt.gz https://launchpad.net/~inkscape.dev/+archive/trunk/+build/3217115/+files/buildlog_ubuntu-maverick-amd64.inkscape-trunk_1%3A0.48%2Bdevel%2B10990%2B30%7Emaverick1_FAILEDTOBUILD.txt.gz
According to the Wiki page, Maverick is still supposed to be supported for trunk: http://wiki.inkscape.org/wiki/index.php/Tracking_Dependencies#Distros
~suv