<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I've stumbled across this restriction,
which seems quite arbitrary. I have an environment which is currently unable
to update to Python 2.7, but I do want lttng-ust-2.4.0.</font>
<br>
<br><font size=2 face="sans-serif">Looking into the code, it seems that
if I don't cate about lttng-gen-tp, and the python bindings, then there
is no reason to force this restriction.</font>
<br>
<br><font size=2 face="sans-serif">I went into configure.ac, and modified
the 2.7 requirement like this:</font>
<br>
<br><font size=2 face="sans-serif">$ diff -r lttng-ust-2.4.0/configure.ac
lttng-ust-2.4.0-py26/configure.ac</font>
<br><font size=2 face="sans-serif">279c279</font>
<br><font size=2 face="sans-serif">< AM_PATH_PYTHON([2.7],BUILD_GEN_TP_EXAMPLES=1)</font>
<br><font size=2 face="sans-serif">---</font>
<br><font size=2 face="sans-serif">> AM_PATH_PYTHON([2.6],BUILD_GEN_TP_EXAMPLES=0)</font>
<br>
<br><font size=2 face="sans-serif">Now, lttng-ust-2.4.0 builds cleanly
with Python 2.6.</font>
<br>
<br><font size=2 face="sans-serif">I'm sure someone can come up with a
patch that will simply say "if all you have is 2.6, then lets use
it, but set BUILD_GEN_TP_EXAMPLES=0, and if you have 2.7, then BUILD_GEN_TP_EXAMPLES=1".</font>
<br>
<br><font size=2 face="sans-serif">Now my experience with autoconf is limited,
otherwise I would have done this and submitted a patch.</font>
<br>
<br><font size=2 face="sans-serif">Do you want me to open a ticket for
this?</font>
<br>
<br><font size=2 color=#000080 face="sans-serif">Amit Margalit</font>
<br><font size=2 color=#808000 face="sans-serif">IBM XIV </font><font size=2 face="sans-serif">-
<i>Storage Reinvented</i></font>
<br><font size=2 face="sans-serif">XIV-NAS Development Team</font>
<br><font size=2 face="sans-serif">Tel. 03</font><font size=2 face="Arial">-689-7774</font>
<br><font size=2 face="Arial">Fax. 03-689-7230</font>