|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0014156||CMake||Modules||public||2013-05-19 06:10||2016-06-10 14:31|
|Assigned To||Ben Boeckel|
|Platform||amd64||OS||Debian GNU/Linux||OS Version||sid|
|Product Version||CMake 2.8.11|
|Target Version||Fixed in Version|
|Summary||0014156: FindPythonLibs: fully support Python on Debian multi-arch systems|
I don't know the details but the following patch is needed to make FindPythonLibs properly work on Debian multi-arch systems (that's for future Debian 8.0 and some recent Ubuntu)
|Tags||No tags attached.|
Jean-Christophe Fillion-Robin (reporter)
In the same time, the patched CMake is causing trouble to build some project. See http://www.na-mic.org/Bug/view.php?id=3116 [^]
@Modestas: Waiting to fix the CMake version of FindPythonLibs.cmake, do you know who should be contacted / what it the process to tweak the module currently provided within Debian ?
Would be helpful if "PYTHON_INCLUDE_DIRS" is appended to the list of path to search when setting "PYTHON_INCLUDE_DIRS2".
Modestas Vainius (reporter)
That would be me. Thanks for letting us know about the problem.
The patch is supposed to be backwards compatible so we will try to fix your problem with the patch. Watch this bug for updates.
I have the same problem with Debian Testing right now.
The patch mentioned above needs another change. JC's idea worked for me:
The patch above doesn't work in some cases.
Here is another patch which has to be applied on top of the original patch in the Debian repository.
It looks for pyconfig.h in the original folder PYTHON_INCLUDE_DIR, and uses the alternative location only if the file couldn't be located.
+ NAMES pyconfig.h
+ if (NOT PYTHON_INCLUDE_DIR2)
@@ -162,6 +183,10 @@
Slicer4 compiles on Debian testing and Ubuntu 13.04 with that change.
Dmitrijs Ledkovs (reporter)
It has proven too much work to have pyconfig.h in an multiarch location.
Therefore, pyconfig.h was re-introduced in an non-multiarch location. Instead it is a compatibility header that using compiler macros includes the correct pyconfig.h from a multiarch location.
This patch should be dropped, as it's no longer needed.
Kitware Robot (administrator)
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.
|2013-05-19 06:10||Modestas Vainius||New Issue|
|2013-05-19 18:05||Jean-Christophe Fillion-Robin||Note Added: 0033096|
|2013-05-20 01:48||Modestas Vainius||Note Added: 0033098|
|2013-08-08 23:46||domibel||Note Added: 0033690|
|2013-08-12 10:36||domibel||Note Added: 0033699|
|2013-08-13 09:07||Brad King||Assigned To||=> Ben Boeckel|
|2013-08-13 09:07||Brad King||Status||new => assigned|
|2013-12-13 12:18||Dmitrijs Ledkovs||Note Added: 0034771|
|2016-06-10 14:28||Kitware Robot||Note Added: 0042284|
|2016-06-10 14:28||Kitware Robot||Status||assigned => resolved|
|2016-06-10 14:28||Kitware Robot||Resolution||open => moved|
|2016-06-10 14:31||Kitware Robot||Status||resolved => closed|
|Copyright © 2000 - 2018 MantisBT Team|