Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@simonw
Created August 14, 2009 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonw/167770 to your computer and use it in GitHub Desktop.
Save simonw/167770 to your computer and use it in GitHub Desktop.
$ mkvirtualenv lxml-install-env
New python executable in lxml-install-env/bin/python
Installing setuptools...asy......... done.
(lxml-install-env)$ easy_install lxml
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.2.2
Downloading http://codespeak.net/lxml/lxml-2.2.2.tgz
Processing lxml-2.2.2.tgz
Running lxml-2.2.2/setup.py -q bdist_egg --dist-dir /var/folders/XC/XCU87hr-Evuj1BF2Q9KQw++++TI/-Tmp-/easy_install-kPVrOI/lxml-2.2.2/egg-dist-tmp-uIiytS
Building lxml version 2.2.2.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
Using build configuration of libxslt 1.1.12
Building against libxml2/libxslt in the following directory: /usr/lib
src/lxml/lxml.etree.c:176:31:src/lxml/lxml.etree.c:176:31: error: libxml/schematron.h: No such file or directory error: libxml/schematron.h: No such file or directory
src/lxml/lxml.etree.c:1985: error: syntax error before ‘xmlSchemaSAXPlugStruct’
src/lxml/lxml.etree.c:1987: error: syntax error before ‘}’ token
src/lxml/lxml.etree.c:1985: error: syntax error before ‘xmlSchemaSAXPlugStruct’
src/lxml/lxml.etree.c:1987: error: syntax error before ‘}’ token
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_14_ParserContext___dealloc__’:
src/lxml/lxml.etree.c:63234: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext__copy’:
src/lxml/lxml.etree.c:63326: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext_prepare’:
src/lxml/lxml.etree.c:63599: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext_cleanup’:
src/lxml/lxml.etree.c:63655: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_14_ParserContext___dealloc__’:
src/lxml/lxml.etree.c:63234: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext__copy’:
src/lxml/lxml.etree.c:63326: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree__handleParseResult’:
src/lxml/lxml.etree.c:64404: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext_prepare’:
src/lxml/lxml.etree.c:63599: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:64828: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:64841: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_14_ParserContext_cleanup’:
src/lxml/lxml.etree.c:63655: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree__handleParseResult’:
src/lxml/lxml.etree.c:64404: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:64828: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:64841: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_9iterparse___next__’:
src/lxml/lxml.etree.c:86431: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_9iterparse___next__’:
src/lxml/lxml.etree.c:86431: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_9XMLSchema__newSaxValidator’:
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116387: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116396: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116405: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116440: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_30_ParserSchemaValidationContext___dealloc__’:
src/lxml/lxml.etree.c:116487: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116496: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116506: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_copy’:
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_inject_default_attributes’:
src/lxml/lxml.etree.c:116580: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116601: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_connect’:
src/lxml/lxml.etree.c:116636: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116646: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116646: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116655: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116682: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116692: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116707: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116707: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_disconnect’:
src/lxml/lxml.etree.c:116739: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116749: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116758: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_isvalid’:
src/lxml/lxml.etree.c:116786: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116809: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_9XMLSchema__newSaxValidator’:
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116386: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116387: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116396: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116405: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116440: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_30_ParserSchemaValidationContext___dealloc__’:
src/lxml/lxml.etree.c:116487: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116496: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116506: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_copy’:
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116543: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_inject_default_attributes’:
src/lxml/lxml.etree.c:116580: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116601: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_connect’:
src/lxml/lxml.etree.c:116636: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116646: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116646: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116655: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116682: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116692: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116707: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116707: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_disconnect’:
src/lxml/lxml.etree.c:116739: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116749: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116758: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_isvalid’:
src/lxml/lxml.etree.c:116786: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:116809: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_new_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129893: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129894: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_traverse_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129916: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129917: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_clear_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129925: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129926: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: At top level:
src/lxml/lxml.etree.c:130036: error: invalid application of ‘sizeof’ to incomplete type ‘struct __pyx_obj_4lxml_5etree__ParserSchemaValidationContext’
src/lxml/lxml.etree.c: In function ‘__pyx_tp_new_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129893: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129894: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129909: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_traverse_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129916: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129917: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: In function ‘__pyx_tp_clear_4lxml_5etree__ParserSchemaValidationContext’:
src/lxml/lxml.etree.c:129925: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c:129926: error: dereferencing pointer to incomplete type
src/lxml/lxml.etree.c: At top level:
src/lxml/lxml.etree.c:130036: error: invalid application of ‘sizeof’ to incomplete type ‘struct __pyx_obj_4lxml_5etree__ParserSchemaValidationContext’
lipo: can't figure out the architecture type of: /var/folders/XC/XCU87hr-Evuj1BF2Q9KQw++++TI/-Tmp-//ccSxyYvT.out
error: Setup script exited with error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment