As Cliff stated on the very end of the mail, taking pyparsing from the original website and manually installing it resolved the problem…
Cheers Kai From: Attila Sukosd <attila.suk...@gmail.com<mailto:attila.suk...@gmail.com>> Date: Wed, 27 Apr 2011 18:30:58 +0200 To: Cliff Sharp <csh...@vbridges.com<mailto:csh...@vbridges.com>>, <spice-de...@freedesktop.org<mailto:spice-de...@freedesktop.org>>, Kai Mosebach <k...@freshx.de<mailto:k...@freshx.de>> Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing 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<http://www.cc.dtu.dk> att...@cc.dtu.dk<mailto:att...@cc.dtu.dk>, gba...@student.dtu.dk<mailto:gba...@student.dtu.dk>, s070...@student.dtu.dk<mailto:s070...@student.dtu.dk> On Wed, Apr 27, 2011 at 6:28 PM, Alon Levy <al...@redhat.com<mailto:al...@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 | csh...@vbridges.com<mailto:csh...@vbridges.com> > > > > > > > > _______________________________________________ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org<mailto:Spice-devel@lists.freedesktop.org> > http://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org<mailto: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