Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19869 closed defect (worksforme)

vtk-devel fails to build with Tk related undefined symbol

Reported by: greg.novak@… Owned by: dweber@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: vtk-devel

Description

I'm trying to build vtk-devel with variants: +py25 +x11 -cocoa

Yesterday I refreshed the macports packages and updated all outdated packages.

Traceback below:

}}[novak@clio ~]$ sudo port install vtk-devel +py25 +x11 -cocoa
--->  Fetching vtk-devel
--->  Verifying checksum(s) for vtk-devel
--->  Extracting vtk-devel
--->  Configuring vtk-devel
--->  Building vtk-devel
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build" && gnumake all " returned error 2
Command output: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /usr/bin/c++   -DvtkRenderingPython_EXPORTS -DVTK_IN_VTK -DGL2PS_HAVE_ZLIB -DGL2PS_HAVE_LIBPNG -Wno-deprecated -O2 -g -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Infovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Geovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Views -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Parallel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Hybrid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Widgets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/IO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Imaging -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Graphics -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/GenericFiltering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Filtering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/gl2ps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/ftgl/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/ftgl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/TclTk/internals/tk8.4 -I/opt/local/include -I/System/Library/Frameworks/Tcl.framework/Headers -I/opt/local/include/python2.5 -I/System/Library/Frameworks/Tk.framework/Headers   -o CMakeFiles/vtkRenderingPython.dir/vtkRenderingPythonInit.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering/vtkRenderingPythonInit.cxx
Linking CXX shared module ../bin/libvtkRenderingPython.so
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/vtkRenderingPython.dir/link.txt --verbose=1
/usr/bin/c++     -Wno-deprecated -O2 -g -bundle -headerpad_max_install_names   -o ../bin/libvtkRenderingPython.so CMakeFiles/vtkRenderingPython.dir/vtkRenderingPythonInit.o ../bin/libvtkRenderingPythonD.5.4.0.dylib /opt/local/lib/libpython2.5.dylib ../bin/libvtkRendering.5.4.0.dylib ../bin/libvtkIO.5.4.0.dylib ../bin/libvtkDICOMParser.5.4.0.dylib ../bin/libvtkNetCDF.5.4.0.dylib ../bin/libvtkmetaio.5.4.0.dylib ../bin/libvtksqlite.5.4.0.dylib ../bin/libvtktiff.5.4.0.dylib ../bin/libvtkjpeg.5.4.0.dylib ../bin/libvtkexpat.5.4.0.dylib ../bin/libvtkftgl.5.4.0.dylib /opt/local/lib/libGL.dylib ../bin/libvtkfreetype.5.4.0.dylib ../bin/libvtkpng.5.4.0.dylib ../bin/libvtkzlib.5.4.0.dylib /usr/X11R6/lib/libOSMesa.dylib /opt/local/lib/libXt.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXss.dylib /opt/local/lib/libXft.dylib /opt/local/lib/libfontconfig.dylib ../bin/libvtkGraphicsPythonD.5.4.0.dylib ../bin/libvtkGraphics.5.4.0.dylib ../bin/libvtkverdict.vtk5.4.0.dylib ../bin/libvtkImagingPythonD.5.4.0.dylib ../bin/libvtkImaging.5.4.0.dylib ../bin/libvtkFilteringPythonD.5.4.0.dylib ../bin/libvtkFiltering.5.4.0.dylib ../bin/libvtkCommonPythonD.5.4.0.dylib /opt/local/lib/libpython2.5.dylib ../bin/libvtkCommon.5.4.0.dylib ../bin/libvtksys.5.4.0.dylib -lpthread -lm 
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/CMakeFiles 
[ 70%] Built target vtkRenderingPython
gnumake -f Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/build.make Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/depend
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/DependInfo.cmake --color=
Scanning dependencies of target vtkRenderingPythonTkWidgets
gnumake -f Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/build.make Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/CMakeFiles 
[ 70%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkWidgetsInit.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /usr/bin/c++   -DvtkRenderingPythonTkWidgets_EXPORTS -DVTK_IN_VTK -DGL2PS_HAVE_ZLIB -DGL2PS_HAVE_LIBPNG -Wno-deprecated -O2 -g -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Infovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Geovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Views -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Parallel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Hybrid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Widgets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/IO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Imaging -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Graphics -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/GenericFiltering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Filtering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/gl2ps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/ftgl/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/ftgl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/TclTk/internals/tk8.4 -I/opt/local/include -I/System/Library/Frameworks/Tcl.framework/Headers -I/opt/local/include/python2.5 -I/System/Library/Frameworks/Tk.framework/Headers   -o CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkWidgetsInit.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/vtkTkWidgetsInit.cxx
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/CMakeFiles 
[ 70%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /usr/bin/c++   -DvtkRenderingPythonTkWidgets_EXPORTS -DVTK_IN_VTK -DGL2PS_HAVE_ZLIB -DGL2PS_HAVE_LIBPNG -Wno-deprecated -O2 -g -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Infovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Geovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Views -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Parallel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Hybrid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Widgets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/IO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Imaging -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Graphics -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/GenericFiltering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Filtering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/gl2ps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/ftgl/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/ftgl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/TclTk/internals/tk8.4 -I/opt/local/include -I/System/Library/Frameworks/Tcl.framework/Headers -I/opt/local/include/python2.5 -I/System/Library/Frameworks/Tk.framework/Headers   -o CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/vtkTkRenderWidgetPython.cxx
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/CMakeFiles 
[ 70%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkImageViewerWidgetPython.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /usr/bin/c++   -DvtkRenderingPythonTkWidgets_EXPORTS -DVTK_IN_VTK -DGL2PS_HAVE_ZLIB -DGL2PS_HAVE_LIBPNG -Wno-deprecated -O2 -g -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Infovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Geovis -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Views -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Parallel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/VolumeRendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Hybrid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Widgets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/IO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Imaging -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Graphics -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/GenericFiltering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Filtering -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Common/Testing/Cxx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtklibproj4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/DICOMParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkfreetype/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtknetcdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkexodus2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/MaterialLibrary -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/verdict -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/gl2ps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/vtkalglib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/ftgl/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Utilities/ftgl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Utilities/TclTk/internals/tk8.4 -I/opt/local/include -I/System/Library/Frameworks/Tcl.framework/Headers -I/opt/local/include/python2.5 -I/System/Library/Frameworks/Tk.framework/Headers   -o CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkImageViewerWidgetPython.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4/Rendering/vtkTkImageViewerWidgetPython.cxx
Linking CXX shared library ../bin/libvtkRenderingPythonTkWidgets.dylib
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/Rendering && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/vtkRenderingPythonTkWidgets.dir/link.txt --verbose=1
/usr/bin/c++    -Wno-deprecated -O2 -g -dynamiclib -headerpad_max_install_names   -compatibility_version 5.4.0 -current_version 5.4.0 -o ../bin/libvtkRenderingPythonTkWidgets.5.4.0.dylib -install_name /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk-devel/work/vtk-5.4-build/bin/libvtkRenderingPythonTkWidgets.5.4.dylib CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkWidgetsInit.o CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.o CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkImageViewerWidgetPython.o ../bin/libvtkRendering.5.4.0.dylib -framework tk -framework tcl -lm ../bin/libvtkGraphics.5.4.0.dylib ../bin/libvtkverdict.vtk5.4.0.dylib ../bin/libvtkImaging.5.4.0.dylib ../bin/libvtkIO.5.4.0.dylib ../bin/libvtkFiltering.5.4.0.dylib ../bin/libvtkCommon.5.4.0.dylib -lpthread -lm ../bin/libvtkDICOMParser.5.4.0.dylib ../bin/libvtkNetCDF.5.4.0.dylib ../bin/libvtkmetaio.5.4.0.dylib ../bin/libvtksqlite.5.4.0.dylib ../bin/libvtktiff.5.4.0.dylib ../bin/libvtkjpeg.5.4.0.dylib ../bin/libvtkexpat.5.4.0.dylib ../bin/libvtksys.5.4.0.dylib ../bin/libvtkftgl.5.4.0.dylib /opt/local/lib/libGL.dylib ../bin/libvtkfreetype.5.4.0.dylib ../bin/libvtkpng.5.4.0.dylib ../bin/libvtkzlib.5.4.0.dylib /usr/X11R6/lib/libOSMesa.dylib /opt/local/lib/libXt.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXss.dylib /opt/local/lib/libXft.dylib /opt/local/lib/libfontconfig.dylib 
Undefined symbols:
  "_Tk_PhotoSetSize_Panic", referenced from:
      _vtkImageDataToTkPhoto_Cmd in vtkTkRenderWidgetPython.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [bin/libvtkRenderingPythonTkWidgets.5.4.0.dylib] Error 1
gnumake[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/all] Error 2
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by dweber@…

Owner: changed from macports-tickets@… to dweber@…

vtk-devel was developed and tested only for cocoa. The error indicated appears to be a problem with the wrapping. You might try:

port install vtk-devel -wrap +x11

If you do want python wrapping, perhaps you assume it will only work if you use the x11 variant. I believe that was true of earlier ports. In the Portfile development process, the python wrapping builds and imports OK for the cocoa build in vtk-devel. I've not done extensive testing of the functionality under python for the cocoa build.

Please consider vtk-devel a work in progress. If you need something that just works, you might be better to focus on the vtk5 port.

Take care, Darren

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Port: vtk-devel added

comment:3 Changed 15 years ago by dweber@…

Resolution: worksforme
Status: newclosed

Assuming this is now resolved.

comment:4 Changed 15 years ago by greg.novak@…

This doesn't work for me. I just upgraded all ports to the most recent versions, and this fails with the same error.

comment:5 Changed 15 years ago by greg.novak@…

Note that this seems to be related to Ticket #18697

comment:6 Changed 15 years ago by dweber@…

There should be a revision 5 available soon for vtk-devel. This revision has more explicit control over the tcl/tk build options. The fix switches off VTK_USE_TK by default. So this build failure is fixed in that revision, where this works for me:

sudo port build vtk-devel +x11 +py25

Note that -cocoa is not required here, because the cocoa variant is automatically switched off whenever an +x11 or a +carbon variant are specified. All of those variants conflict, so it's not possible to specify any combination of +cocoa +x11 +carbon.

If you need any of the tcl/tk system, you might try:

sudo port install vtk-devel +x11 +py25 +tcl
# OR
sudo port install vtk-devel +x11 +py25 +tcl_apple

This has not been tested yet, but it might resolve this problem. In the prior revision, the automatic dependency resolution system in cmake was using Apple framework libs for some things (like includes), but a macports tcl lib for the linking. If that inconsistency is resolved by using the explicit tcl variants, we might expect the entire build to work with one of the +tcl variants above.

Note: See TracTickets for help on using tickets.