found 709181 2.8.11-2 thanks Hi,
On Tue, May 21, 2013 at 2:24 PM, Modestas Vainius <[email protected]> wrote: > On 2013 m. of May 21 d., Tuesday 15:01:17 Mathieu Malaterre wrote: >> Package: cmake >> Version: 2.8.7-4~bpo60+1 > > Why are you using sqeeuze-bpo cmake version on sid and expect everything to > work? Sorry my bad. I use reportbug from my oldstable instead of my sid chroot. >> 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.s >> o .. 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) > > You need 2.8.11-1 or later to get support for multi-arched python. What is That's no enough. > more, to support your scenario you may need to set PYTHON_INCLUDE_DIR2 for it > as well. Indeed, using: -DPYTHON_INCLUDE_DIR2=`python-config --includes | cut -f2 -d' '|cut -c3-` makes the configure go a little further. thanks. However due to #686407, vtk and vxl (others?) are using the abovementionned tricks to specify correctly the python version to use within cmake. > However, even then, I give no guarentees that this will work. Multiarch Python > patch is kind of crappy and I still need to figure out what to do with it. Having to use -DPYTHON_INCLUDE_DIR2 will require source upload of a couple of packages. 2cts -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

