- Make sure install the following package for cygwin by using Cygwin setup libxml2, libxml2-devel, libxslt, libxslt-devel, python-libxml2, python-libxslt
- If you got lots of errors about debug format:
- try to add -gdwarf-2 to CFLAGS
- export CFLAGS="-gdwarf-2"
This might be a dumb question, but were you able to successfully build lxml from source within cygwin?
ReplyDeleteworked great for me, but your dependencies should be libxslt instead of libxlst
ReplyDeleteWorked great for me - I found this after realizing that the "Warning: .stabn: description field XXXX too big" errors were coming from the lxml install step in the Scrapy download, and setting your suggested CFLAG did the trick for me.
ReplyDelete