cmake problem

Asked by Kiarash

I'm using Arch Linux and cmake version 2.8.11.1
I run cmake with this command: cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
And it gives me these errors:

-- Cannot enable coverage targets because neither lcov nor gcovr are found.
  File "<string>", line 1
    import sys; print str (sys.version_info[0]) + '.' + str (sys.version_info[1])
                        ^
SyntaxError: invalid syntax
CMake Error at compizconfig/compizconfig-python/CMakeLists.txt:17 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.

CMake Error at compizconfig/compizconfig-python/CMakeLists.txt:18 (string):
  string sub-command REPLACE requires at least four arguments.

CMake Error at compizconfig/compizconfig-python/CMakeLists.txt:26 (string):
  string sub-command REPLACE requires at least four arguments.

CMake Error at compizconfig/compizconfig-python/CMakeLists.txt:35 (message):
  Can not build because pyrexc binary not found.

You can see the complete cmake log here: http://pastebin.com/dBhVRU7f

Question information

Language:
English Edit question
Status:
Answered
For:
Compiz Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
MC Return (mc-return) said :
#1

Kiarash, could you please post a bug report about that ?
Do it here: https://bugs.launchpad.net/compiz/+filebug

Revision history for this message
MC Return (mc-return) said :
#2

Note:
You can disable BUILD_TESTING and BUILD_XORG_TEST.
Try to use CMake-GUI, configuration is easier with GUI ;)

Can you help with this problem?

Provide an answer of your own, or ask Kiarash for more information if necessary.

To post a message you must log in.