those errors say you need python development package ..the package i asked you to install seem to be the appropriate python package ..if you have installed it and it still complains ..then try installing another package with a word "python" and "devel" in it ..install all of them if you have to ..if the one i gave isnt the one, i dont know which one is ..
this is what i am getting concerning python
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib/python2.5/config/libpython2.5.so
-- Found PythonInterp: /usr/bin/python2.5
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found