Package: cmake
Version: 2.8.7-4~bpo60+1
Severity: important
As per documentation:
$ cmake --help-module FindPythonLibs | tail -10
If you'd like to specify the installation of Python to use, you should
modify the following cache variables:
PYTHON_LIBRARY - path to the python library
PYTHON_INCLUDE_DIR - path to where Python.h is found
Defined in: /usr/share/cmake-2.8/Modules/FindPythonLibs.cmake
Indeed the following works (resp. squeeze, wheezy):
$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python2.6 -DPYTHON_LIBRARY=/usr/lib/python2.6/config/
libpython2.6.so ..
$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/python2.7/config/
libpython2.7.so ..
However the following now fails (sid, libpython2.7 >= 2.7.5-4)
$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/
libpython2.7.so ..
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (found version
"2.7.5")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindPythonLibs.cmake:208 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:2 (find_package)
-- Configuring incomplete, errors occurred!
where CMakeLists.txt is:
$ cat CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
find_package(PythonLibs REQUIRED)
thanks
-- System Information:
Debian Release: 6.0.7
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cmake depends on:
ii cmake-data 2.8.7-4~bpo60+1 CMake data files (modules, templat
ii libarchive1 2.8.4.forreal-1+squeeze2 Single library to read/write tar,
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.21.0-2.1+squeeze3 Multi-protocol file transfer libra
ii libexpat1 2.0.1-7+squeeze1 XML parsing C library - runtime li
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libxmlrpc-c3 1.06.27-1.1 A lightweight RPC library based on
ii procps 1:3.2.8-9squeeze1 /proc file system utilities
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
cmake recommends no packages.
Versions of packages cmake suggests:
ii gcc 4:4.4.5-1 The GNU C compiler
ii make 3.81-8 An utility for Directing compilati
-- no debconf information
--
To UNSUBSCRIBE, email to
debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listm...@lists.debian.org