Comment 0 for bug 1179338

Revision history for this message
Gabriel Ulici (ulicigabriel-deactivatedaccount) wrote : 0.49.X "desktop.o" mac compilation error

I`m trying to compile the latest version of Inkscape of Mac OS X Lion (10.7.5) with MacPorts. i run autogen and configure everything is ok but when i execute the make command i receive this error. I added even the terminal output for help.

"/opt/local/include/lcms.h: In function ‘void* _cmsMalloc(size_t)’:
/opt/local/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false
  CXX common-context.o
  CXX composite-undo-stack-observer.o
  CXX conditions.o
  CXX conn-avoid-ref.o
  CXX connector-context.o
  CXX console-output-undo-observer.o
  CXX context-fns.o
glib-genmarshal --prefix=sp_marshal --header ./helper/sp-marshal.list > helper/tmp.sp-marshal.h
if cmp -s helper/sp-marshal.h helper/tmp.sp-marshal.h; \
 then rm helper/tmp.sp-marshal.h; \
 else mv helper/tmp.sp-marshal.h helper/sp-marshal.h; fi
  CXX desktop.o
In file included from /opt/local/include/glibmm-2.4/glibmm.h:90,
                 from /opt/local/include/gtkmm-2.4/gtkmm/stockid.h:27,
                 from /opt/local/include/gtkmm-2.4/gtkmm/iconset.h:36,
                 from /opt/local/include/gtkmm-2.4/gtkmm/style.h:47,
                 from /opt/local/include/gtkmm-2.4/gtkmm/rc.h:32,
                 from /opt/local/include/gtkmm-2.4/gtkmm/widget.h:49,
                 from /opt/local/include/gtkmm-2.4/gtkmm/container.h:31,
                 from /opt/local/include/gtkmm-2.4/gtkmm/box.h:60,
                 from ./ui/widget/dock-item.h:15,
                 from ui/dialog/dock-behavior.h:17,
                 from ui/dialog/dialog.h:18,
                 from ui/dialog/dialog-manager.h:18,
                 from desktop.cpp:30:
/opt/local/include/glibmm-2.4/glibmm/threads.h:203: error: field ‘gobject_’ has incomplete type
/opt/local/include/glibmm-2.4/glibmm/threads.h: In member function ‘GThread* Glib::Threads::Thread::gobj()’:
/opt/local/include/glibmm-2.4/glibmm/threads.h:199: error: ‘gobject_’ was not declared in this scope
/opt/local/include/glibmm-2.4/glibmm/threads.h: In member function ‘const GThread* Glib::Threads::Thread::gobj() const’:
/opt/local/include/glibmm-2.4/glibmm/threads.h:200: error: ‘gobject_’ was not declared in this scope
make[3]: *** [desktop.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2"

Thank you.