PYTHON_LIBRARY_LOCAL not found

Asked by IsItSaturday

$ cmake .. \
     -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
     -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
...
-- No coverage report targets set, not generating coverage report
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_LIBRARY_LOCAL
    linked by target "compizconfig_python_module" in directory /home/iis/Downloads/compiz-0.9.9.0/compizconfig/compizconfig-python

-- Configuring incomplete, errors occurred!

Distro: Arch Linux x86_64
Compiz version: 0.9.9.0

Question information

Language:
English Edit question
Status:
Expired
For:
Compiz Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
BryanFRitt (bryanfritt) said :
#1

What happens when you run `cmake ../` without '-DPYTHON_INCLUDE_DIR=/usr/include/python2.7' and '-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so'?

Disclaimer: I'm not saying this will fix anything, but it's something to try.

Revision history for this message
IsItSaturday (isitsaturday) said :
#4

@BryanFritt: It doesn't make any difference. I ran '-DPYTHON_INCLUDE_DIR=/usr/include/python2.7' and '-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so' just to fully follow INSTALL file (I have multiple python versions installed). In both cases it shows the same message.
Creted bug report and attached full output of cmakes.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.