Δεν μπορώ να κάνω compile το mercurial
Vaggelis Typaldos
frances at mylannet.gr
Sun Feb 10 14:15:42 EET 2008
Αποφάσισα να κάνω upgrade σε current στις ports του σέρβερ μου και
προσπάθησα να κάνω εγκατάσταση στο Mercurial 0.9.5 αλλά ανεπιτυχώς:
creating build/temp.freebsd-6.1-RELEASE-p2-jc1-i386-2.4
creating build/temp.freebsd-6.1-RELEASE-p2-jc1-i386-2.4/mercurial
cc -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing
-pipe -fPIC -I/usr/local/include/python2.4 -c mercurial/mpatch.c -o
build/temp.freebsd-6.1-RELEASE-p2-jc1-i386-2.4/mercurial/mpatch.o
mercurial/mpatch.c:23:20: Python.h: No such file or directory
mercurial/mpatch.c:64: error: syntax error before '*' token
mercurial/mpatch.c:64: warning: data definition has no type or storage
class
mercurial/mpatch.c:322: error: syntax error before '*' token
mercurial/mpatch.c: In function `fold':
mercurial/mpatch.c:328: error: `start' undeclared (first use in this
function)
mercurial/mpatch.c:328: error: (Each undeclared identifier is reported
only once
mercurial/mpatch.c:328: error: for each function it appears in.)
mercurial/mpatch.c:328: error: `end' undeclared (first use in this
function)
mercurial/mpatch.c:330: error: `PyObject' undeclared (first use in this
function)
mercurial/mpatch.c:330: error: `tmp' undeclared (first use in this
function)
mercurial/mpatch.c:330: error: `bins' undeclared (first use in this
function)
mercurial/mpatch.c: At top level:
mercurial/mpatch.c:344: error: syntax error before '*' token
mercurial/mpatch.c:345: error: syntax error before '*' token
mercurial/mpatch.c: In function `patches':
mercurial/mpatch.c:347: error: `PyObject' undeclared (first use in this
function)
mercurial/mpatch.c:347: error: `text' undeclared (first use in this
function)
mercurial/mpatch.c:347: error: `bins' undeclared (first use in this
function)
mercurial/mpatch.c:347: error: `result' undeclared (first use in this
function)
mercurial/mpatch.c:354: error: `args' undeclared (first use in this
function)
mercurial/mpatch.c:381: warning: assignment makes pointer from integer
without a cast
mercurial/mpatch.c: At top level:
mercurial/mpatch.c:392: error: syntax error before '*' token
mercurial/mpatch.c:393: error: syntax error before '*' token
mercurial/mpatch.c: In function `patchedsize':
mercurial/mpatch.c:400: error: `args' undeclared (first use in this
function)
mercurial/mpatch.c:429: warning: return makes pointer from integer
without a cast
mercurial/mpatch.c: At top level:
mercurial/mpatch.c:432: error: syntax error before "methods"
mercurial/mpatch.c:433: warning: braces around scalar initializer
mercurial/mpatch.c:433: warning: (near initialization for `methods[0]')
mercurial/mpatch.c:433: warning: initialization makes integer from
pointer without a cast
mercurial/mpatch.c:433: warning: excess elements in scalar initializer
mercurial/mpatch.c:433: warning: (near initialization for `methods[0]')
mercurial/mpatch.c:433: error: `METH_VARARGS' undeclared here (not in a
function)
mercurial/mpatch.c:433: warning: excess elements in scalar initializer
mercurial/mpatch.c:433: warning: (near initialization for `methods[0]')
mercurial/mpatch.c:433: warning: excess elements in scalar initializer
mercurial/mpatch.c:433: warning: (near initialization for `methods[0]')
mercurial/mpatch.c:434: warning: braces around scalar initializer
mercurial/mpatch.c:434: warning: (near initialization for `methods[1]')
mercurial/mpatch.c:434: warning: initialization makes integer from
pointer without a cast
mercurial/mpatch.c:434: warning: excess elements in scalar initializer
mercurial/mpatch.c:434: warning: (near initialization for `methods[1]')
mercurial/mpatch.c:434: warning: excess elements in scalar initializer
mercurial/mpatch.c:434: warning: (near initialization for `methods[1]')
mercurial/mpatch.c:434: warning: excess elements in scalar initializer
mercurial/mpatch.c:434: warning: (near initialization for `methods[1]')
mercurial/mpatch.c:435: warning: braces around scalar initializer
mercurial/mpatch.c:435: warning: (near initialization for `methods[2]')
mercurial/mpatch.c:435: warning: initialization makes integer from
pointer without a cast
mercurial/mpatch.c:435: warning: excess elements in scalar initializer
mercurial/mpatch.c:435: warning: (near initialization for `methods[2]')
mercurial/mpatch.c:436: warning: data definition has no type or storage
class
mercurial/mpatch.c:439: error: syntax error before "initmpatch"
mercurial/mpatch.c: In function `initmpatch':
mercurial/mpatch.c:442: warning: assignment makes pointer from integer
without a cast
error: command 'cc' failed with exit status 1
*** Error code 1
Stop in /usr/ports/devel/mercurial.
Φταίει ότι τρέχει python 2.4.4 και όχι 2.5; Δυστυχώς την 2.4 την
χρειάζομαι για το Zope. Μπορούν να ζήσουν μαζί και η 2.4 και η 2.5; Τα
έκανα μαντάρα. Ξέρω πως δεν είναι το σωστό μέρος να ρωτήσω, αλλά αφού
για το project τεκμηρίωσης θα το χρησιμοποιήσω ...
More information about the Freebsd-doc-el
mailing list