<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLDB Linux CMake build requires Python >= 2.7"
href="http://llvm.org/bugs/show_bug.cgi?id=16610">16610</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLDB Linux CMake build requires Python >= 2.7
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>daniel.malea@intel.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I tried to build LLDB with CMake (using the Makefile generator) on a system
with Python 2.6 installed, and noticed build problems because the "2.7" version
number is hard-coded in a few CMake files:
./CMakeLists.txt
82:include_directories(/usr/include/python2.7)
./docs/CMakeLists.txt
38: WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/../../../lib/python2.7/site-packages
./source/CMakeLists.txt
140: python2.7
There is probably a better way to pull in the dependency with something like:
find_package(PythonInterp REQUIRED)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>