Notes on installing mailpile

From Tronche's wiki
Jump to: navigation, search

(Ubuntu 12.04)

Following instructions on:


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

Solved with

aptitude install libxml2-dev libxslt-dev


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


tronche@xx:~/mailpile/Mailpile$ ./mp 
Traceback (most recent call last):
  File "./mp", line 10, in <module>
    from import Main
  File "/home/tronche/mailpile/Mailpile/mailpile/", line 3, in <module>
  File "/home/tronche/mailpile/Mailpile/mailpile/", 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.

Personal tools