axitkhurana / buster

Brute force static site generator for Ghost
MIT License
800 stars 139 forks source link

Trouble Installing Buster #60

Closed briamkin closed 9 years ago

briamkin commented 9 years ago

I've tried to install several times but always get this error (I'm running Mac OS X 10.10.3, the latest build with pip 6.1.1 and python 2.7) I've also tried running it with: export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments as has been used for some other Clang failures before...

anyways, this is the error I get:

bk: pip install buster Collecting buster Using cached buster-0.1.3.tar.gz Requirement already satisfied (use --upgrade to upgrade): GitPython==0.3.2.RC1 in /usr/local/lib/python2.7/site-packages (from buster) Requirement already satisfied (use --upgrade to upgrade): async==0.6.1 in /usr/local/lib/python2.7/site-packages (from buster) Requirement already satisfied (use --upgrade to upgrade): docopt==0.6.1 in /usr/local/lib/python2.7/site-packages (from buster) Requirement already satisfied (use --upgrade to upgrade): gitdb==0.5.4 in /usr/local/lib/python2.7/site-packages (from buster) Collecting pyquery==1.2.8 (from buster) Using cached pyquery-1.2.8.zip Requirement already satisfied (use --upgrade to upgrade): smmap==0.8.2 in /usr/local/lib/python2.7/site-packages (from buster) Collecting lxml>=2.1 (from pyquery==1.2.8->buster) Using cached lxml-3.4.2.tar.gz Collecting cssselect (from pyquery==1.2.8->buster) Using cached cssselect-0.9.1.tar.gz Installing collected packages: lxml, cssselect, pyquery, buster Running setup.py install for lxml Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;file='/private/var/folders/0c/gp7yj5v16clg6k5x_4wnwc0000gn/T/pip-build-btoKEQ/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/0c/gp7yj5v16clg6k5x_4wn__wc0000gn/T/pip-BJUuAg-record/install-record.txt --single-version-externally-managed --compile: /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.4.2. Building without Cython. Using build configuration of libxslt 1.1.28 running install running build running build_py creating build creating build/lib.macosx-10.10-x86_64-2.7 creating build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/init.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/_elementpath.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/builder.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/cssselect.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/doctestcompare.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/ElementInclude.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/sax.py -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/usedoctest.py -> build/lib.macosx-10.10-x86_64-2.7/lxml creating build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/init.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes creating build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/init.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/builder.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/clean.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/defs.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/diff.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/html creating build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron copying src/lxml/isoschematron/init.py -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.10-x86_64-2.7/lxml copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.10-x86_64-2.7/lxml/includes creating build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources creating build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/rng creating build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl creating build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.10-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.macosx-10.10-x86_64-2.7 creating build/temp.macosx-10.10-x86_64-2.7/src creating build/temp.macosx-10.10-x86_64-2.7/src/lxml clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-error=unused-command-line-argument-hard-error-in-future -I/usr/include/libxml2 -I/private/var/folders/0c/gp7yj5v16clg6k5x_4wnwc0000gn/T/pip-build-btoKEQ/lxml/src/lxml/includes -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.10-x86_64-2.7/src/lxml/lxml.etree.o -w -flat_namespace In file included from src/lxml/lxml.etree.c:239: /private/var/folders/0c/gp7yj5v16clg6k5x_4wn__wc0000gn/T/pip-build-btoKEQ/lxml/src/lxml/includes/etree_defs.h:14:10: fatal error: 'libxml/xmlversion.h' file not found

include "libxml/xmlversion.h"

         ^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/0c/gp7yj5v16clg6k5x_4wn__wc0000gn/T/pip-build-btoKEQ/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/0c/gp7yj5v16clg6k5x_4wn__wc0000gn/T/pip-BJUuAg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/0c/gp7yj5v16clg6k5x_4wn__wc0000gn/T/pip-build-btoKEQ/lxml
briamkin commented 9 years ago

Oops, it's because the latest command line tools weren't installed on this new comp.