[MacPorts] #23772: InsightToolKit: fix linking against python 2.6 framework
#23772: InsightToolKit: fix linking against python 2.6 framework -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: dweber@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: python build failure | Port: cmake InsightToolkit -----------------------------------+---------------------------------------- I tried adding this to fix the linking: configure.ldflags-append -F${frameworks_dir} but that did not get passed to the cmake build process. I'm not sure if this is an issue with cmake or InsightToolkit. -- Ticket URL: <http://trac.macports.org/ticket/23772> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23772: InsightToolKit: fix linking against python 2.6 framework -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: dweber@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: python build failure | Port: cmake InsightToolkit -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): I wonder if you need to uncomment (and edit) Wrapping/WrapITK/Python/CMakeLists.tx {{{ # ADD_CUSTOM_TARGET(PythonCompile ALL # ${PYTHON_EXECUTABLE} # ${PY_SITE_PACKAGES_PATH}/../compileall.py -l # -d "${CMAKE_INSTALL_PREFIX}/${WRAP_ITK_INSTALL_PREFIX}/lib" # ${WrapITK_BINARY_DIR}/lib # # COMMAND ${PYTHON_EXECUTABLE} # ${PY_SITE_PACKAGES_PATH}/../compileall.py -l # -d "${CMAKE_INSTALL_PREFIX}/${WRAP_ITK_INSTALL_PREFIX}/Python" # ${WrapITK_BINARY_DIR}/Python # # DEPENDS SwigRuntimePython ${PYTHON_MODULES} }}} -- Ticket URL: <http://trac.macports.org/ticket/23772#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23772: InsightToolKit: fix linking against python 2.6 framework -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: dweber@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: python build failure | Port: cmake InsightToolkit -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: css@… (added) * type: request => defect -- Ticket URL: <https://trac.macports.org/ticket/23772#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23772: InsightToolKit: fix linking against python 2.6 framework -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: dweber@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: python build failure | Port: cmake InsightToolkit -----------------------------------+---------------------------------------- Comment(by css@…): Rather than using `configure.ldflags`, you should probably just pass the special CMake environment variable directly to the cmake configuration: {{{ #!tcl configure.env-append CMAKE_FRAMEWORK_PATH=${frameworks_dir} }}} -- Ticket URL: <https://trac.macports.org/ticket/23772#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23772: InsightToolKit: fix linking against python 2.6 framework -----------------------------------+-------------------------------- Reporter: jeremyhu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: cmake InsightToolkit | -----------------------------------+-------------------------------- Changes (by mf2k@…): * keywords: python build failure => * owner: dweber@… => macports-tickets@… Comment: dweber has retired. See #43834. -- Ticket URL: <https://trac.macports.org/ticket/23772#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts