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)<br><br clear="all"><div>Best Regards,</div><div><br></div>Attila Sukosd<br><br>-----------------------------------------<div>
DTU Computing Center - <a href="http://www.cc.dtu.dk" target="_blank">www.cc.dtu.dk</a></div><div><a href="mailto:attila@cc.dtu.dk" target="_blank">attila@cc.dtu.dk</a>, <a href="mailto:gbaras@student.dtu.dk" target="_blank">gbaras@student.dtu.dk</a>, <a href="mailto:s070600@student.dtu.dk" target="_blank">s070600@student.dtu.dk</a></div>
<div><br></div><br>
<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 6:28 PM, Alon Levy <span dir="ltr"><<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Apr 27, 2011 at 11:07:55AM -0500, Cliff Sharp wrote:<br>
> When building spice-gtk after loading tons of MacPorts dependencies -- I was getting the following error.<br>
<br>
</div>To build from git (not from source tar balls) you need pyparsing. I think it's pure python, so should pose<br>
absolutely no problem to install even if no MacPort exists. I don't have a mac so I can't check.<br>
<br>
<a href="http://pyparsing.wikispaces.com/" target="_blank">http://pyparsing.wikispaces.com/</a><br>
<div><div></div><div class="h5"><br>
><br>
> make all-recursive<br>
> Making all in common<br>
> Making all in win<br>
> Making all in my_getopt-1.5<br>
> make[4]: Nothing to be done for `all'.<br>
> make[4]: Nothing to be done for `all-am'.<br>
> make[3]: Nothing to be done for `all-am'.<br>
> Making all in gtk<br>
> GEN spice-marshal.c<br>
> GEN spice-marshal.h<br>
> GEN generated_demarshallers.c<br>
> Traceback (most recent call last):<br>
> File "../spice_codegen.py", line 7, in <module><br>
> from python_modules import spice_parser<br>
> File "/Users/csharp/src/spice-gtk/spice-gtk-0.5/python_modules/spice_parser.py", line 1, in <module><br>
> from pyparsing import Literal, CaselessLiteral, Word, OneOrMore, ZeroOrMore, \<br>
> ImportError: No module named pyparsing<br>
> make[2]: *** [generated_demarshallers.c] Error 1<br>
> make[1]: *** [all-recursive] Error 1<br>
> make: *** [all] Error 2<br>
><br>
> I could not find pyparsing in MacPorts via the port list command. I did find and load<br>
> py-parsing @1.5.1 python/py-parsing<br>
> py25-parsing @1.5.1 python/py25-parsing<br>
> py26-parsing @1.5.2 python/py26-parsing<br>
> py27-parsing @1.5.5 python/py27-parsing<br>
><br>
> But none of these resolved the issue.<br>
><br>
> So I downloaded pyparsing-1.5.5.tar.gz from <a href="http://distfiles.macports.org/python/" target="_blank">http://distfiles.macports.org/python/</a><br>
> and installed it via "python setup.py install" which resolved the issue.<br>
><br>
><br>
> ____<br>
><br>
> Cliff Sharp | <a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div>> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</blockquote></div><br>