lxml compile osx10.9 mavericks cannot find libxml2 headers
when compiling lxml on osx10.9 it cannot find the libxml headers, because they are in a slightly different folder.
in short, doing this before building it, fixes the issue:
the libxml2 folder contains the "libxml" subfolder, which contains the header-files.
i'm not sure how would be the best way to fix this.
full output from compiling:
$ /usr/bin/python setup.py build
Building lxml version 3.2.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
building 'lxml.etree' extension
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-flat_namespace'
In file included from src/lxml/
1 error generated.
error: command 'cc' failed with exit status 1