#16327: vtk5 5.0.3_0 +python build failure ------------------------------+--------------------------------------------- Reporter: casbon@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ------------------------------+--------------------------------------------- vtk5 python variant fails to build. I got the port to build with these actions: 1. Edit the port file and set "-DBUILD_SHARED_LIBS:BOOL=ON" 2. in .../work/VTK/CMake/CMakeLists.txt add cmake_minimum_required(VERSION 2.6) at the top of the file 3. Add missing " in line 19 of .../work/VTK/Wrapping/Python/PythonInstall.cmake However, even then the build does not work: {{{ Python 2.5.2 (r252:60911, Jul 24 2008, 10:25:53) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import vtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/lib/python2.5/site-packages/vtk/__init__.py", line 29, in <module> from common import * File "/opt/local/lib/python2.5/site-packages/vtk/common.py", line 7, in <module> from libvtkCommonPython import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/vtk/libvtkCommonPython.so, 10): Library not loaded: libvtkCommonPythonD.5.0.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/vtk/libvtkCommonPython.so Reason: image not found }}}
-- Ticket URL: <http://trac.macports.org/ticket/16327> MacPorts <http://www.macports.org/> Ports system for Mac OS