Installing error 0.6.2 on Ubuntu 9.04

Anonymous avatarAnonymous created an issue

$ sudo easy_install sphinx Searching for sphinx Best match: Sphinx 0.6.2 Processing Sphinx-0.6.2-py2.6.egg Sphinx 0.6.2 is already the active version in easy-install.pth Installing sphinx-build script to /usr/local/bin Installing sphinx-quickstart script to /usr/local/bin Installing sphinx-autogen script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/Sphinx-0.6.2-py2.6.egg Processing dependencies for sphinx Searching for Jinja2>=2.1 Reading http://pypi.python.org/simple/Jinja2/ Reading http://jinja.pocoo.org/ Best match: Jinja2 2.1.1 Downloading http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.1.1.tar.gz#md5=b37fc262e4f613eec57c3defe6aea97c Processing Jinja2-2.1.1.tar.gz Running Jinja2-2.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-n8Yszv/Jinja2-2.1.1/egg-dist-tmp-n9cCOK warning: no files found matching 'Makefile' warning: no files found matching 'ez_setup.py' warning: no previously-included files matching '*' found under directory 'docs/_build/doctrees' jinja2/_speedups.c:15:20: error: Python.h: No existe el fichero ó directorio jinja2/_speedups.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c: En la función ‘init_constants’: jinja2/_speedups.c:34: error: ‘PyObject’ no se declaró aquí (primer uso en esta función) jinja2/_speedups.c:34: error: (Cada identificador no declarado solamente se reporta una vez jinja2/_speedups.c:34: error: para cada funcion en la que aparece.) jinja2/_speedups.c:34: error: ‘module’ no se declaró aquí (primer uso en esta función) jinja2/_speedups.c:36: error: ‘escaped_chars_repl’ no se declaró aquí (primer uso en esta función) jinja2/_speedups.c:36: error: ‘PyUnicodeObject’ no se declaró aquí (primer uso en esta función) jinja2/_speedups.c:36: error: expected expression before ‘)’ token jinja2/_speedups.c:37: error: expected expression before ‘)’ token jinja2/_speedups.c:38: error: expected expression before ‘)’ token jinja2/_speedups.c:39: error: expected expression before ‘)’ token jinja2/_speedups.c:40: error: expected expression before ‘)’ token jinja2/_speedups.c:43: aviso: declaración implícita de la función ‘memset’ jinja2/_speedups.c:43: aviso: declaración implícita incompatible de la función interna ‘memset’ jinja2/_speedups.c:49: aviso: declaración implícita de la función ‘PyImport_ImportModule’ jinja2/_speedups.c:52: error: ‘markup’ no se declaró aquí (primer uso en esta función) jinja2/_speedups.c:52: aviso: declaración implícita de la función ‘PyObject_GetAttrString’ jinja2/_speedups.c:53: aviso: declaración implícita de la función ‘Py_DECREF’ jinja2/_speedups.c: En el nivel principal: jinja2/_speedups.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token jinja2/_speedups.c:195: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘module_methods’ jinja2/_speedups.c: En la función ‘init_speedups’: jinja2/_speedups.c:220: aviso: declaración implícita de la función ‘Py_InitModule3’ jinja2/_speedups.c:220: error: ‘module_methods’ no se declaró aquí (primer uso en esta función) error: Setup script exited with error: command 'gcc' failed with exit status 1

Comments (1)

  1. Georg Brandl

    Installing the Python development headers (I think the package is called python-dev on Debian) should fix this.

    Otherwise bring it up with Armin, the Jinja dev, who is best available in #pocoo on freenode.net IRC.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.