From thahn.76@gmx.de
i have tried to build SciGraphica on MacOSX 10.4.2 (Tiger) but it
seems there is a problem with the linker. I configured for my
system with:
./configure --with-python-prefix=/System/Library/Frameworks/
Python.framework/Versions/2.3 --with-python-numeric-path=/
System/Library/Frameworks/Python.framework/Versions/2.3/
Headers/numarray
than the make process stops with an error (see output). I have
tried around with several CFLAGS and LDFLAGS settings (-
multiply_defined suppress)
=====
output:
makemake all-recursiveMaking all in pixmapsmake[2]: Nothing to
be done for `all'.Making all in scigraphicaMaking all in
widgetsmake[3]: Nothing to be done for `all'.
Making all in dialogs
make[3]: Nothing to be done for `all'.
Making all in algorithms
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --mode=link gcc -multiply_defined suppress -g -O
-W -Wall -DWITH_WARNINGS -multiply_defined suppress -lz -o
libscigraphica-2.0.la -rpath /usr/local/lib -version-info 1:0:0 -release
2.1 -export-dynamic -L/sw/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-
x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -
lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -
lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -
lglib-2.0 -lintl -liconv -L/sw/lib -L/usr/X11R6/lib -lgtkextra-x11-2.0 -
lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -
lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -
lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -
lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/sw/lib -lxml2 -
lpthread -lz -liconv -lm -L/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3//config -lpython2.3 -
ldl sg_application.lo sg.lo sg_config.lo sg_dataset.lo
sg_features.lo sg_file.lo sg_file_dialog.lo sg_layer_control.lo
sg_locale.lo sg_plugin_array.lo sg_plugin.lo sg_plugin_dataset.lo
sg_plugin_file.lo sg_plugin_formula.lo sg_plugin_function.lo
sg_plugin_iterator.lo sg_plugin_layer.lo sg_plugin_loader.lo
sg_plugin_menu.lo sg_plugin_style.lo sg_python.lo
sg_python_worksheet.lo sg_python_expr.lo algorithms/
libsgalgorithms.la widgets/libsgwidgets.la dialogs/libsgdialogs.la
rm -fr .libs/libscigraphica-2.0.la .libs/libscigraphica-2.0.* .libs/
libscigraphica-2.0-2.1.*
gcc -r -keep_private_externs -nostdlib -o .libs/
libscigraphica-2.0-2.1.1.0.0.dylib-master.o sg_application.lo sg.lo
sg_config.lo sg_dataset.lo sg_features.lo sg_file.lo
sg_file_dialog.lo sg_layer_control.lo sg_locale.lo
sg_plugin_array.lo sg_plugin.lo sg_plugin_dataset.lo
sg_plugin_file.lo sg_plugin_formula.lo sg_plugin_function.lo
sg_plugin_iterator.lo sg_plugin_layer.lo sg_plugin_loader.lo
sg_plugin_menu.lo sg_plugin_style.lo sg_python.lo
sg_python_worksheet.lo sg_python_expr.lo -all_load
algorithms/.libs/libsgalgorithms.al widgets/.libs/libsgwidgets.al
dialogs/.libs/libsgdialogs.al && gcc -dynamiclib -flat_namespace -
undefined suppress -o .libs/libscigraphica-2.0-2.1.1.0.0.dylib .libs/
libscigraphica-2.0-2.1.1.0.0.dylib-master.o -L/sw/lib -L/usr/X11R6/
lib -lgtkextra-x11-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -
lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -
lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -
lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lxml2 -
lpthread -liconv -lm -L/System/Library/Frameworks/
Python.framework/Versions/2.3/lib/python2.3//config -lpython2.3 -
ldl -lz -lc -install_name /usr/local/lib/libscigraphica-2.0-2.1.1.dylib -
compatibility_version 2 -current_version 2.0
ld: multiple definitions of symbol _PyArrayXXX
sg.lo definition of _PyArrayXXX in section (__DATA,__common)
sg_config.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_file.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_file_dialog.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_layer_control.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_plugin_function.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_plugin_loader.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_python.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_python_worksheet.lo definition of _PyArrayXXX in section
(__DATA,__common)
sg_python_expr.lo definition of _PyArrayXXX in section
(__DATA,__common)
widgets/.libs/libsgwidgets.al(sg_dialog.lo) definition of
_PyArrayXXX in section (__DATA,__common)
< ... many lines skipped ...>
Logged In: YES
user_id=1351931
I have encountered same problem.
I am using Mac OS X 10.4.4
I also tried it with fink as well as manually compiling latest Python and other
packages.