[Spice-devel] OSX spice-gtk and pyparsing

Attila Sukosd attila.sukosd at gmail.com
Wed Apr 27 09:30:58 PDT 2011


Yea, you can even just take the pyparsing.py from the .tgz and put it in the
source base dir. (where you run make from)

Best Regards,

Attila Sukosd

-----------------------------------------
DTU Computing Center - www.cc.dtu.dk
attila at cc.dtu.dk, gbaras at student.dtu.dk, s070600 at student.dtu.dk




On Wed, Apr 27, 2011 at 6:28 PM, Alon Levy <alevy at redhat.com> wrote:

> On Wed, Apr 27, 2011 at 11:07:55AM -0500, Cliff Sharp wrote:
> > When building spice-gtk after loading tons of MacPorts dependencies -- I
> was getting the following error.
>
> To build from git (not from source tar balls) you need pyparsing. I think
> it's pure python, so should pose
> absolutely no problem to install even if no MacPort exists. I don't have a
> mac so I can't check.
>
> http://pyparsing.wikispaces.com/
>
> >
> > make  all-recursive
> > Making all in common
> > Making all in win
> > Making all in my_getopt-1.5
> > make[4]: Nothing to be done for `all'.
> > make[4]: Nothing to be done for `all-am'.
> > make[3]: Nothing to be done for `all-am'.
> > Making all in gtk
> >   GEN    spice-marshal.c
> >   GEN    spice-marshal.h
> >   GEN    generated_demarshallers.c
> > Traceback (most recent call last):
> >   File "../spice_codegen.py", line 7, in <module>
> >     from python_modules import spice_parser
> >   File
> "/Users/csharp/src/spice-gtk/spice-gtk-0.5/python_modules/spice_parser.py",
> line 1, in <module>
> >     from pyparsing import Literal, CaselessLiteral, Word, OneOrMore,
> ZeroOrMore, \
> > ImportError: No module named pyparsing
> > make[2]: *** [generated_demarshallers.c] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > I could not find pyparsing in MacPorts via the port list command. I did
> find and load
> > py-parsing                     @1.5.1          python/py-parsing
> > py25-parsing                   @1.5.1          python/py25-parsing
> > py26-parsing                   @1.5.2          python/py26-parsing
> > py27-parsing                   @1.5.5          python/py27-parsing
> >
> > But none of these resolved the issue.
> >
> > So I downloaded pyparsing-1.5.5.tar.gz from
> http://distfiles.macports.org/python/
> > and installed it via "python setup.py install" which resolved the issue.
> >
> >
> > ____
> >
> > Cliff Sharp | csharp at vbridges.com
> >
> >
> >
> >
> >
> >
> >
>
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110427/2d53a54c/attachment.htm>


More information about the Spice-devel mailing list