This is an old revision of the document!
First - basic error:
no clang++
This fixes the first error:
sudo apt-get install clang-3.5 llvm
sudo ln -s /usr/bin/clang-3.5 /usr/bin/clang sudo ln -s /usr/bin/clang++-3.5 /usr/bin/clang++
Next error is related to a missing header file fixed with this:
sudo apt-get install libswscale-dev
XML errors - fixed:
https://git.gnome.org/browse/libxml2/
Then:
ln -s /usr/local/include/libxml2 /usr/include/libxml2
required for building libxml2 sudo apt-get install libtool sudo apt-get install autoconf
Missing Python.h
sudo apt-get install python-dev
Missing xslt header
sudo apt-get install libxslt1-dev