lourenstcc <[email protected]> writes: > Thanks, > > I am also working on Mac-OS X, but 10.6.8 (snow leopard) > and when trying to easy_install mwlib.xhtml I get error messages relating to > gevent: > > sudo easy_install mwlib.xhtml > Searching for mwlib.xhtml > Best match: mwlib.xhtml 0.1.0 > Processing mwlib.xhtml-0.1.0-py2.6.egg > mwlib.xhtml 0.1.0 is already the active version in easy-install.pth > > Using /Library/Python/2.6/site-packages/mwlib.xhtml-0.1.0-py2.6.egg > Processing dependencies for mwlib.xhtml > Searching for gevent > Reading http://pypi.python.org/simple/gevent/ > Reading http://www.gevent.org/ > Reading http://gevent.org/ > Best match: gevent 0.13.6 > Downloading > http://pypi.python.org/packages/source/g/gevent/gevent-0.13.6.tar.gz#md5=7c836ce2315d44ba0af6134efbcd38c9 > Processing gevent-0.13.6.tar.gz > Running gevent-0.13.6/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-5slTzT/gevent-0.13.6/egg-dist-tmp-m6VvNb > In file included from gevent/core.c:225: > gevent/libevent.h:9:19: error: event.h: No such file or directory > ... (lots of errors) > gevent/core.c:15914: warning: implicit declaration of function > ‘evhttp_accept_socket’ > gevent/core.c: At top level: > gevent/core.c:21272: error: expected ‘)’ before ‘val’ > lipo: can't open input file: /var/tmp//ccm2mutP.out (No such file or > directory) > error: Setup script exited with error: command 'gcc-4.2' failed with exit > status 1 > > > > In the meantime I saw your conversation with Sikander Lhote and I installed > per your instruction: > > curl -O > http://pypi.python.org/packages/source/g/gevent/gevent-0.13.6.tar.gz > bsdtar vxf gevent-0.13.6.tar.gz > cd gevent-0.13.6 > ./fetch_libevent.py > python setup.py build install > without problems. > But easy_install mwlib.xhtml still fails with the same messages as above. > > I am no python expert whatsoever, so it could well be that I followed the > wrong procedure here. > (running mw-render now fails with:pkg_resources.DistributionNotFound: gevent)
Did you use a different python installations when running the above? What does "which easy_install python" print? -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
