compilation problems in ubuntu 8.0.4

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Tue Jun 24 03:23:46 CDT 2008


On Tue, Jun 24, 2008 at 9:03 AM, Alessandro Dentella <sandro at e-den.it> wrote:
> 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?

Try `apt-get builddep mercurial`.

>
>  [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
>    *:-)
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list