1) make error due to hardcoded 'libtoolize' in autogen.sh
$ make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/missing --run aclocal-1.11 cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/missing --run automake-1.11 --foreign configure.ac:33: required file `./ltmain.sh' not found make: *** [Makefile.in] Error 1
On OS X libtool and libtoolize are installed as 'glibtool' and 'glibtoolize'. autogen.sh should either test for it or maybe use the environment variables ($LIBTOOL, $LIBTOOLIZE) which could be set in the packaging script (packaging/macosx/osx-build.sh).
After editing autogen.sh (replace "libtoolize" with "glibtoolize") to test the fix, autogen.sh and configure ran through:
Configuration:
Source code location: . Destination path prefix: /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/packaging/macosx/../../Build Compiler: ccache g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/Volumes/blue/mp-inkscape/with-a-long-long-long-directory-name/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall -Wno-strict-aliasing CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/Volumes/blue/mp-inkscape/with-a-long-long-long-directory-name/lib Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable DBUS no Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes Doing Local Install: no
but make failed later on with:
2) link error for 'libinkdbus.la'
CCLD libinkdbus.la Undefined symbols:
...
ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libinkdbus.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any hints on how one can really disable DBUS in Inkscape for now or how to investigate if this is a problem with my local build environment (dbus, dbus-glib dependencies are installed [2]) or why this error happens on osx would be highly appreciated.
~suv
[1] from the console log building bzr trunk 9614:
LeWitt:mp-x11 suv$ make make all-recursive Making all in src dbus-binding-tool --mode=glib-server --output=extension/dbus/application-server-glue.h --prefix=application_interface extension/dbus/application-interface.xml dbus-binding-tool --mode=glib-server --output=extension/dbus/document-server-glue.h --prefix=document_interface extension/dbus/document-interface.xml dbus-binding-tool --mode=glib-client --output=extension/dbus/document-client-glue.h --prefix=document_interface extension/dbus/document-interface.xml make all-am CXX arc-context.o
...
CXX extension/print.o CXX extension/dbus/dbus-init.o extension/dbus/dbus-init.cpp:71: warning: unused parameter ‘proxy’ extension/dbus/dbus-init.cpp: In function ‘void Inkscape::Extension::Dbus::init()’: extension/dbus/dbus-init.cpp:87: warning: unused variable ‘obj’ extension/dbus/dbus-init.cpp: In function ‘gchar* Inkscape::Extension::Dbus::init_document()’: extension/dbus/dbus-init.cpp:103: warning: unused variable ‘result’ extension/dbus/dbus-init.cpp:104: warning: unused variable ‘error’ CXX extension/dbus/application-interface.o extension/dbus/application-interface.cpp:40: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:57: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:57: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:63: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:70: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:70: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:78: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:78: warning: unused parameter ‘document_name’ extension/dbus/application-interface.cpp:78: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:85: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:85: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:91: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:91: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:101: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:101: warning: unused parameter ‘error’ extension/dbus/application-interface.cpp:107: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:114: warning: unused parameter ‘object’ extension/dbus/application-interface.cpp:114: warning: unused parameter ‘error’ CXX extension/dbus/document-interface.o extension/dbus/document-interface.cpp:205: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:341: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:486: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:521: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:555: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:563: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:573: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:807: warning: unused parameter ‘object’ extension/dbus/document-interface.cpp:807: warning: unused parameter ‘shape’ extension/dbus/document-interface.cpp:841: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:853: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:877: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:933: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:944: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:958: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:975: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1019: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1040: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1055: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘object’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘x’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘y’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘x2’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘y2’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘replace’ extension/dbus/document-interface.cpp:1079: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1141: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1153: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1160: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1277: warning: unused parameter ‘error’ extension/dbus/document-interface.cpp:1299: warning: unused parameter ‘object’ CXX extension/implementation/implementation.o extension/implementation/implementation.cpp:100: warning: unused parameter ‘docCache’ CXX extension/implementation/script.o
...
CXX inkscape-version.o AR libinkversion.a CC extension/dbus/wrapper/libinkdbus_la-inkscape-dbus-wrapper.lo CCLD libinkdbus.la Undefined symbols: "_dbus_g_bus_get", referenced from: _dbus_get_connection in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_desktop_init_dbus in libinkdbus_la-inkscape-dbus-wrapper.o "_dbus_g_proxy_call", referenced from: _inkscape_delete_all in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_call_verb in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_rectangle in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_ellipse in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_polygon in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_star in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_spiral in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_line in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_text in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_image in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_node in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_get_width in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_get_height in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_get_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_set_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_merge_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_document_resize_to_fit_selection in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_set_attribute in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_set_int_attribute in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_set_double_attribute in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_get_attribute in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_move in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_move_to in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_object_to_path in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_get_path in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_transform in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_get_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_modify_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_merge_css in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_set_color in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_move_to_layer in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_get_node_coordinates in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_save in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_save_as in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_load in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_mark_as_unmodified in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_close in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_inkscape_exit in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_undo in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_redo in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_pause_updates in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_resume_updates in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_update in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_get in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_add in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_add_list in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_set in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_set_list in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_rotate in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_delete in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_clear in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_select_all in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_select_all_in_all_layers in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_box in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_invert in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_group in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_ungroup in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_cut in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_copy in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_paste in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_scale in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_move in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_move_to in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_move_to_layer in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_get_center in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_to_path in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_combine in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_divide in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_change_level in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_new in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_set in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_get_all in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_change_level in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_next in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_layer_previous in libinkdbus_la-inkscape-dbus-wrapper.o "_dbus_g_proxy_new_for_name", referenced from: _dbus_get_proxy in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_desktop_init_dbus in libinkdbus_la-inkscape-dbus-wrapper.o "_dbus_g_type_get_collection", referenced from: _inkscape_get_node_coordinates in libinkdbus_la-inkscape-dbus-wrapper.o _inkscape_selection_get_center in libinkdbus_la-inkscape-dbus-wrapper.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libinkdbus.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 LeWitt:mp-x11 suv$
[2] installed (dbus) dependencies (via MacPorts):
dbus @1.2.24_0+no_root+no_startupitem dbus-glib @0.86_1 glib2 @2.24.1_0+darwin