Hi Alon,

Python 2.4.3 is used.
When I tried to install Python 2.6, it is not replacing the existing Python 
2.4.3.
Parallel versions of python exist in system. 

I tried to create symbolic link for python2.6 to python.
So my system has 
python2 -> python
python -> python2.6

When I tried to build, I got the error "pyparsing" needs to be installed. I did 
it when Python 2.4.3 is used.
when I tried to do the same(yum install pyparsing) with python2.6, then I'm 
getting the error
"No module named yum." I noticed all my package management tools are not 
working.

How can I compile this with Python 2.6? 

Appreciated you help.


Thanks,
Naga.


________________________________
 From: Alon Levy <al...@redhat.com>
To: Naga Mohan Pothula <nagamohan.poth...@yahoo.com> 
Cc: "spice-devel@lists.freedesktop.org" <spice-devel@lists.freedesktop.org> 
Sent: Friday, January 27, 2012 2:52 AM
Subject: Re: [Spice-devel] Build problems with Upstream Spice on CentOS 5...
 
On Thu, Jan 26, 2012 at 01:46:36PM -0800, Naga Mohan Pothula wrote:
>    Hi,
>    I'm facing problems while building Upstream Spice on CentOS 5.7 64-bit
>    host.
>    I haven't face problems when i build the same code on Ubuntu 10.04 64-bit
>    host.
>    I installed "pyparsing" into Centos 5. still I'm facing building
>    problems. 
>    File "../spice_codegen.py", line 15
>        channel.client_messages if client else channel.server_messages)
>                                 ^
>    SyntaxError: invalid syntax

What python version are you using? It's clearly too old if it doesn't
support this syntax. Perhaps there is a newer python package? that also
means we will have to change the shebang line in spice_codegen.py

>    make[2]: *** [generated_marshallers.c] Error 1
>    Can you please tell why this Build problems with Centos 5?
>    Appreciated your help.
>    Thanks\Naga.

> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to