<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. </div><div><br></div><div>I tried to create symbolic link for python2.6 to python.</div><div>So my system has </div><div>python2 -> python</div><div>python -> 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 <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? </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 <alevy@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> Naga Mohan Pothula
<nagamohan.pothula@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "spice-devel@lists.freedesktop.org" <spice-devel@lists.freedesktop.org> <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>> Hi,<br>> I'm facing problems while building Upstream Spice on CentOS 5.7 64-bit<br>> host.<br>> I haven't face problems when i build the same code on Ubuntu 10.04 64-bit<br>> host.<br>> I installed "pyparsing" into Centos 5. still I'm facing building<br>> problems. <br>> File "../spice_codegen.py", line 15<br>> channel.client_messages if client else channel.server_messages)<br>> ^<br>> 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>> make[2]: *** [generated_marshallers.c] Error 1<br>> Can you please tell why this Build problems with Centos 5?<br>> Appreciated your help.<br>> Thanks\Naga.<br><br>> _______________________________________________<br>> Spice-devel mailing list<br>> <a ymailto="mailto:Spice-devel@lists.freedesktop.org" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>> http://lists.freedesktop.org/mailman/listinfo/spice-devel<br><br><br><br> </div> </div> </div></body></html>