12月 162013
 

首先从官网查询到M2Crypto最新版本为0.21.1,其基本需求为:

0.21.1: Python 2.3 or newer m2urllib2 requires Python 2.4 or newer OpenSSL 0.9.7 or newer Some optional new features will require OpenSSL 0.9.8 or newer SWIG 1.3.28 or newer required for building SWIG 1.3.30 or newer may be required with Python 2.5 or newer and Python 2.4 with Py_ssize_t patches

安装SWIG,ipkg install swig即可搞定。

Continue reading »

12月 222012
 

先来看一下官方对gevent的介绍

gevent is a Python networking library that uses greenlet to provide a synchronous API on top of libevent event loop. Features include: Fast event loop based on libevent (epoll on Linux, kqueue on FreeBSD). Lightweight execution units based on greenlet. API that re-uses concepts from the Python standard library (e.g. Event, Queue). Cooperative socket and ssl modules. Ability to use standard library and 3rd party modules written for standard blocking sockets (gevent.monkey). DNS queries performed through libevent-dns. Fast WSGI server based on libevent-http.

虽然新版本的GoAgent不再要求Gevent环境,但Gevent可以提高运行效率,那为什么不装呢?Google后发现这篇文章,本文参考这篇文章后编译成功,在此谢谢此文作者。

Continue reading »