Follow Andrews' post to install PyPy: andrewsmedina.com/2013/07/28/introducao-ao-pypy/
Create a virtualenv (I'm using virtualenvwrapper) with pypy executable:
$ mkvirtualenv lxml-pypy -p /path/to/bin/pypy
Clone the lxml fork that is using cffi instead of Cython:
$ git clone https://github.com/amauryfa/lxml.git
You'll need to install the following packages to build lxml (with both, Python or PyPy):
$ [sudo] apt-get install libxml2 libxslt1-dev zlib1g-dev
cd into the lxml repository and run:
$ git checkout origin/cffi
$ python setup.py build
$ python setup.py install
Done!
@ruipacheco I've same errors (actually, lot more of them), and I definitelly installed deps.
// although, maybe there is too fresh versions, including gcc