Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing error 0.6.2 on Ubuntu 9.04 #240

Closed
shimizukawa opened this issue Jan 2, 2015 · 1 comment
Closed

Installing error 0.6.2 on Ubuntu 9.04 #240

shimizukawa opened this issue Jan 2, 2015 · 1 comment

Comments

@shimizukawa
Copy link
Member

~$ 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


@shimizukawa
Copy link
Member Author

From Georg Brandl on 2009-09-03 14:21:16+00:00

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.

shimizukawa added a commit that referenced this issue Mar 11, 2015
Add clarification about the syntax of tags
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant