compilation problems in ubuntu 8.0.4
Alessandro Dentella
sandro at e-den.it
Tue Jun 24 02:03:17 CDT 2008
Hi,
I just installed Ubuntu 8.0.4 and wante to install mercurial 1.0.1..
I apt-get install(ed) python-dev and linux-headers-2.6.24-16-386 but when
I 'python setup.py build'in the freshly downloaded mercurial I get the
following error: what am I missing?
[complete log: http://dpaste.com/58768/]
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from mercurial/mpatch.c:23:
/usr/include/python2.5/Python.h:32:19: error: stdio.h: No such file or directory
/usr/include/python2.5/Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL."
/usr/include/python2.5/Python.h:37:20: error: string.h: No such file or directory
/usr/include/python2.5/Python.h:39:19: error: errno.h: No such file or directory
/usr/include/python2.5/Python.h:41:20: error: stdlib.h: No such file or directory
/usr/include/python2.5/Python.h:43:20: error: unistd.h: No such file or directory
/usr/include/python2.5/Python.h:55:20: error: assert.h: No such file or directory
In file included from /usr/include/python2.5/Python.h:57,
from mercurial/mpatch.c:23:
/usr/include/python2.5/pyport.h:7:20: error: stdint.h: No such file or directory
In file included from /usr/include/python2.5/Python.h:57,
from mercurial/mpatch.c:23:
/usr/include/python2.5/pyport.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_uintptr_t’
Thanks in advance
sandro
*:-)
More information about the Mercurial
mailing list