I'm trying to install libxml2 on my Mac (OS 10.6.4). I'm actually trying to just run a Scrapy script in Python, which has required me to install Twisted, Zope, and now libxml2. I've downloaded the latest version (2.7.7, from xmlsoft.org) and tried following these instructions here. To summarize, I tried this command (in the python subdirectory):
python setup.py --static-deps --libxml2-version=2.7.7 -- libxslt-version=1.1.24
I end up with this error:
failed to find headers for libxml2: update includes_dir
Any ideas?
I also tried running this command:
./configure --with-python=/System/Library/Frameworks/Python.framework/Versions/2.6/
And I get the following error:
configure: error: no acceptable C compiler found in $PATH
Does that shed any light on the situation?