Notes on installing mailpile

(Ubuntu 12.04)

Following instructions on:

https://github.com/pagekite/Mailpile/wiki/Getting-started-on-linux

xslt-config

"ERROR: /bin/sh: xslt-config: not found"

Solved with

aptitude install libxml2-dev libxslt-dev

Python.h

src/lxml/lxml.etree.c:4:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Solved with:

aptitude install python-dev

lxml.html

tronche@xx:~/mailpile/Mailpile$ ./mp 
Traceback (most recent call last):
  File "./mp", line 10, in <module>
    from mailpile.app import Main
  File "/home/tronche/mailpile/Mailpile/mailpile/__init__.py", line 3, in <module>
    import mailpile.app
  File "/home/tronche/mailpile/Mailpile/mailpile/app.py", line 36, in <module>
    import lxml.html
ImportError: No module named lxml.html

This is because the

pip install -r requirements.txt

wasn't sudo-ed. By sudoing it, mp starts.