On 21/12/10 15:44, Maximilian Albert wrote:
I'm having a few problems after my last pull (I'm at rev. 9970 at the moment). Firstly, I couldn't compile straight away because widgets/icon.cpp uses the GStatBuf type which AFAICT was newly added to glib in a recent version (the latest version on Ubuntu 10.04 is glib 2.24.1, which doesn't know it). Would it be possible to recode this so that the latest version supplied by Ubuntu (or other distros, for that matter) is sufficient? After installing glib 2.26.1 from source, I managed to compile Inkscape but now it crashes on startup (see backtrace below). Any ideas?
Until fixed, manually create the path for the icon cache:
$ mkdir -p ~/.cache/inkscape/icons
After that Inkscape will start without crash and use the icon cache. (AFAIU Inkscape uses http://library.gnome.org/devel/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir to determine the path to the user cache directory.)
(confirming both issues - build failure with glib 2.24.x, ok with glib 2.26.x on OS X 10.5.8, as well as initial crash as long as icon cache directory doesn't exist)
~suv