Created
September 13, 2010 17:02
-
-
Save oldpatricka/577632 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fucking lxml. (thanks to toastdriven) | |
brew install libxml2 --static | |
curl -O ftp://xmlsoft.org/libxml2/libxslt-1.1.22.tar.gz | |
tar xvzf libxslt-1.1.22.tar.gz | |
cd libxslt-1.1.22 | |
env CFLAGS="-arch i386 -arch ppc -arch x86_64" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk" ./configure --disable-dependency-tracking --prefix=/usr/local --with-libxml-prefix=/usr/local/Cellar/libxml2/2.7.7/ | |
make | |
make install | |
pip install lxml==2.2.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment