<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Alon,</span></div><div><span><br></span></div><div><span>Python 2.4.3 is used.</span></div><div>When I tried to install Python 2.6, it is not replacing the existing Python 2.4.3.</div><div>Parallel versions of python exist in system.&nbsp;</div><div><br></div><div>I tried to create symbolic link for python2.6 to python.</div><div>So my system has&nbsp;</div><div>python2 -&gt; python</div><div>python -&gt; python2.6</div><div><br></div><div>When I tried to build, I got the error "pyparsing" needs to be installed. I did it when&nbsp;<span style="font-size: 10pt; ">Python 2.4.3 is used.</span></div><div><span style="font-size: 10pt; ">when I tried to do the same(yum install pyparsing) with python2.6, then I'm getting the error</span></div><div><span style="font-size: 10pt; ">"No module named yum." I noticed all my package
 management tools are not working.</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">How can I compile this with Python 2.6?&nbsp;</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Appreciated you help.</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Thanks,</span></div><div><span style="font-size: 10pt; ">Naga.</span></div><div><br></div>  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Alon Levy &lt;alevy@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Naga Mohan Pothula
 &lt;nagamohan.pothula@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "spice-devel@lists.freedesktop.org" &lt;spice-devel@lists.freedesktop.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, January 27, 2012 2:52 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Spice-devel] Build problems with Upstream Spice on CentOS 5...<br> </font> </div> <br>
On Thu, Jan 26, 2012 at 01:46:36PM -0800, Naga Mohan Pothula wrote:<br>&gt;&nbsp; &nbsp; Hi,<br>&gt;&nbsp; &nbsp; I'm facing problems while building Upstream Spice on CentOS 5.7 64-bit<br>&gt;&nbsp; &nbsp; host.<br>&gt;&nbsp; &nbsp; I haven't face problems when i build the same code on Ubuntu 10.04 64-bit<br>&gt;&nbsp; &nbsp; host.<br>&gt;&nbsp; &nbsp; I installed "pyparsing" into Centos 5. still I'm facing building<br>&gt;&nbsp; &nbsp; problems.&nbsp;<br>&gt;&nbsp; &nbsp; File "../spice_codegen.py", line 15<br>&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; channel.client_messages if client else channel.server_messages)<br>&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>&gt;&nbsp; &nbsp; SyntaxError: invalid syntax<br><br>What python version are you using? It's clearly too old if it doesn't<br>support this syntax. Perhaps
 there is a newer python package? that also<br>means we will have to change the shebang line in <a target="_blank" href="http://spice_codegen.py">spice_codegen.py</a><br><br>&gt;&nbsp; &nbsp; make[2]: *** [generated_marshallers.c] Error 1<br>&gt;&nbsp; &nbsp; Can you please tell why this Build problems with Centos 5?<br>&gt;&nbsp; &nbsp; Appreciated your help.<br>&gt;&nbsp; &nbsp; Thanks\Naga.<br><br>&gt; _______________________________________________<br>&gt; Spice-devel mailing list<br>&gt; <a ymailto="mailto:Spice-devel@lists.freedesktop.org" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>&gt; http://lists.freedesktop.org/mailman/listinfo/spice-devel<br><br><br><br> </div> </div>  </div></body></html>