~mc-return/compiz/compiz0.9.9.merge-plugin-startup

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Iven Hsu
  • Date: 2012-10-26 16:13:01 UTC
  • mto: (3286.2.156 0.9.9)
  • mto: This revision was merged to the branch mainline in revision 3295.
  • Revision ID: ivenvd@gmail.com-20121026161301-l9x35a2nnf6hvpwd
Update build instructions in INSTALL.

Since r3434 we introduced FindPythonLibs of CMake, which could determin which version to use if the user have multiple versions of Python installed, and may cause build errors(LP: 1070211). This commit adds some intructions about how to specify the version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        $ cd build
8
8
        $ cmake ..
9
9
 
 
10
If you have multiple versions of Python installed, you will need to specify the version like this:
 
11
 
 
12
        $ cmake .. \
 
13
            -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
 
14
            -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
 
15
 
10
16
After that, standard build procedures apply:
11
17
 
12
18
        $ make