Merge lp:~ivenvd/compiz/compiz.doc.fix_1070211 into lp:compiz/0.9.9

Proposed by Iven Hsu on 2012-10-26
Status: Merged
Approved by: Sam Spilsbury on 2012-10-27
Approved revision: 3441
Merged at revision: 3442
Proposed branch: lp:~ivenvd/compiz/compiz.doc.fix_1070211
Merge into: lp:compiz/0.9.9
Diff against target: 16 lines (+6/-0)
1 file modified
INSTALL (+6/-0)
To merge this branch: bzr merge lp:~ivenvd/compiz/compiz.doc.fix_1070211
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing on 2012-10-26
Daniel van Vugt Approve on 2012-10-26
Sam Spilsbury 2012-10-26 Approve on 2012-10-26
Review via email: mp+131550@code.launchpad.net

Commit Message

Update build instructions in INSTALL.

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

To post a comment you must log in.
3441. By Iven Hsu on 2012-10-26

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.

Sam Spilsbury (smspillaz) :
review: Approve
Daniel van Vugt (vanvugt) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'INSTALL'
2--- INSTALL 2012-05-16 17:40:13 +0000
3+++ INSTALL 2012-10-26 08:23:35 +0000
4@@ -7,6 +7,12 @@
5 $ cd build
6 $ cmake ..
7
8+If you have multiple versions of Python installed, you will need to specify the version like this:
9+
10+ $ cmake .. \
11+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
12+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
13+
14 After that, standard build procedures apply:
15
16 $ make

Subscribers

People subscribed via source and target branches