I've fussed around with the autoconf/automake stuff and in theory now you should be able to run `inkscape --new-gui` and see something other than a segfault. If so, great, if not, lemme know.
I suspect due to a newly added share/ui directory, you will probably need to re-run autogen.sh and configure.
Bryce
I've sent bryce private e-mail (before seeing his post to inkscape-devel) about an abort with --new-gui if you haven't done `make install' with prefix=/usr.
One part of a fix would be to modify prefix.h to get the appropriate paths.
The other part of the fix would of course be to catch the appropriate exception instead of (or as well as) testing for return of 0. I seem not to have sources for Gtk::UIManager handy, unfortunately.
pjrm.
On Mon, Mar 07, 2005 at 08:06:07PM +1100, Peter Moulder wrote:
I've sent bryce private e-mail (before seeing his post to inkscape-devel) about an abort with --new-gui if you haven't done `make install' with prefix=/usr.
One part of a fix would be to modify prefix.h to get the appropriate paths.
I've created some member functions in Inkscape::Application to provide the paths, but haven't done the coding to hook it up. I think that's probably the next priority.
The other part of the fix would of course be to catch the appropriate exception instead of (or as well as) testing for return of 0. I seem not to have sources for Gtk::UIManager handy, unfortunately.
Here's the routine that's throwing the exception:
UIManager::ui_merge_id UIManager::add_ui_from_string(const Glib::ustring& buffer) { GError *error = 0; guint retvalue = gtk_ui_manager_add_ui_from_string(gobj(), buffer.c_str(), buffer.s ize(), &(error)); if(error) ::Glib::Error::throw_exception(error); return retvalue; }
Bryce
participants (2)
-
Bryce Harrington
-
Peter Moulder