Compiling on mac os x



Sorry if I'm being too noisy on the list. Normally I'd lurk for a while, but here goes:

I'm running Mac OS X 10.3 'panther' and am trying to compile dia-0.92. I have updated fink with
libxml2 2.5.10-10 and libxml 1.8.17-14,
gtk+2 2.2.1-17
gtk+ 1.2.10-23
pango1 1.2.1-4

./configure goes fine
make produces an error:
Making all in app
/bin/sh ../libtool --mode=link gcc -I/sw/include/libxml2 -I/sw/include -I/sw/include/freetype2 -I/sw/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -export-dynamic -o dia diagram.o preferences.o load_save.o properties.o defaults.o render_eps.o render_libart.o undo.o object_ops.o layer_dialog.o export_png.o commands.o app_procs.o connectionpoint_ops.o disp_callbacks.o display.o select.o color_area.o linewidth_area.o lineprops_area.o grid.o handle_ops.o interface.o modify_tool.o scroll_tool.o create_object.o magnify.o menus.o cut_n_paste.o render_gdk.o tool.o diapagelayout.o diaunitspinner.o pagesetup.o filedlg.o plugin-manager.o dia-props.o gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o recent_files.o diagram_tree.o diagram_tree_window.o diagram_tree_menu.o diagram_tree_menu_callbacks.o render_pixmap.o sheets.o sheets_dialog.o sheets_dialog_callbacks.o dialogs.o autosave.o dynamic_refresh.o diapsrenderer.o diapsft2renderer.o persistence.o paginate_psprint.o main.o ../lib/libdia.la -lz -L/sw/lib -lfreetype -L/sw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lxml2 -lpthread -lz -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lz

*** Warning: Linking the executable dia against the loadable module
*** libdia.so is not portable!
** Warning, lib libdia.so is a module, not a shared library

** And there doesn't seem to be a static archive available
** The link will probably fail, sorry
gcc -I/sw/include/libxml2 -I/sw/include -I/sw/include/freetype2 -I/sw/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -o .libs/dia diagram.o preferences.o load_save.o properties.o defaults.o render_eps.o render_libart.o undo.o object_ops.o layer_dialog.o export_png.o commands.o app_procs.o connectionpoint_ops.o disp_callbacks.o display.o select.o color_area.o linewidth_area.o lineprops_area.o grid.o handle_ops.o interface.o modify_tool.o scroll_tool.o create_object.o magnify.o menus.o cut_n_paste.o render_gdk.o tool.o diapagelayout.o diaunitspinner.o pagesetup.o filedlg.o plugin-manager.o dia-props.o gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o recent_files.o diagram_tree.o diagram_tree_window.o diagram_tree_menu.o diagram_tree_menu_callbacks.o render_pixmap.o sheets.o sheets_dialog.o sheets_dialog_callbacks.o dialogs.o autosave.o dynamic_refresh.o diapsrenderer.o diapsft2renderer.o persistence.o paginate_psprint.o main.o ../lib/.libs/libdia.so -L/sw/lib /sw/lib/libfreetype.dylib /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib /sw/lib/libpangoxft-1.0.dylib /sw/lib/libpangox-1.0.dylib /sw/lib/libxml2.dylib -lpthread /sw/lib/libgdk_pixbuf-2.0.dylib -lm /sw/lib/libpangoft2-1.0.dylib /sw/lib/libpango-1.0.dylib -L/usr/X11R6/lib /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lz ld: ../lib/.libs/libdia.so is input for the dynamic link editor, is not relocatable by the static link editor again ld: warning prebinding disabled because dependent library: /sw/lib/libfreetype.6.dylib is not prebound
ld: warning multiple definitions of symbol _Check_Property
/sw/lib/libpangoft2-1.0.dylib(libpangoft2-1.0.0.200.1.dylib-master.o) definition of _Check_Property /sw/lib/libpangoxft-1.0.dylib(libpangoxft-1.0.0.200.1.dylib-master.o) definition of _Check_Property
ld: warning multiple definitions of symbol _Coverage_Index
/sw/lib/libpangoft2-1.0.dylib(libpangoft2-1.0.0.200.1.dylib-master.o) definition of _Coverage_Index /sw/lib/libpangoxft-1.0.dylib(libpangoxft-1.0.0.200.1.dylib-master.o) definition of _Coverage_Index
ld: warning multiple definitions of symbol _Free_AlternateSubst

The warnings continue for several pages, next set is:
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _pango_ot_ruleset_shape used from dynamic library /sw/lib/libpangoft2-1.0.dylib(libpangoft2-1.0.0.200.1.dylib-master.o) not from earlier dynamic library /sw/lib/libpangoxft-1.0.0.dylib(libpangoxft-1.0.0.200.1.dylib-master.o) symbol _Check_Property used from dynamic library /sw/lib/libpangoft2-1.0.dylib(libpangoft2-1.0.0.200.1.dylib-master.o) not from earlier dynamic library /sw/lib/libpangoxft-1.0.0.dylib(libpangoxft-1.0.0.200.1.dylib-master.o)

Then ending with:
make[2]: *** [dia] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Seems like maybe some Makefile changes would fix this, but I'm not enough of a C hacker to do it myself. Any help appreciated.

Thanks!
Steve-



------------------------------------------------------------------------
The information contained in this communication is intended
only for the use of the recipient(s) named above. It may
contain information that is privileged or confidential, and
may be protected by State and/or Federal Regulations. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received
this communication in error, please return it to the sender
immediately and delete the original message and any copy
of it from your computer system. If you have any questions
concerning this message, please contact the sender.
------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]