I am trying to install libxml2 on my Mac (OS 10.6.4). I'm actually trying to run a Scrapy script in Python, which required me to install Twisted, Zope and now libxml2. I downloaded the latest version (2.7.7, from xmlsoft.org) and tried to follow these instructions here . To summarize, I tried this command (in a python subdirectory):
python setup.py --static-deps --libxml2-version=2.7.7 -- libxslt-version=1.1.24
I get this error:
failed to find headers for libxml2: update includes_dir
Any ideas?
I also tried to execute 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 this clarify the situation?
source
share