Common compile errors
From FrugalWiki
Document is not a stylesheet
xsltParseStylesheetProcess : document is not a stylesheet
gnome-doc-utils is missing from makedepends
/lib/cpp
checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.
use pacman -S devel-core, especially you need the kernel-headers pkg