[Zope3-french-user] [Afpy-membres] z3c

Gaël Pasgrimaud gawel at afpy.org
Jeu 15 Mai 10:23:25 CEST 2008


Je suis pas un dieu en C mais viviblement il te manque PyObject qui
est dans les headers python

Donc un apt-get install python2.4-dev devrait corriger le problème

Assure toi aussi que tu utilise bien python2.4. Ca doit etre indiqué
sur la première ligne du script bin/buildout

On Thu, May 15, 2008 at 10:14 AM, Albert DURANTON
<albert.duranton375 at orange.fr> wrote:
> J'ai essayé apt-get install build-essential ok
> ./bin/buildout -vvvv et j'ai toujours le même problème avec zope.security3.4.0
>
> before 'PyObject'
> src/zope/security/_proxy.c:116: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'check':
> src/zope/security/_proxy.c:118: error: 'PyObject' undeclared (first use in this function)
> src/zope/security/_proxy.c:118: error: 'r' undeclared (first use in this function)
> src/zope/security/_proxy.c:126: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:127: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:128: error: 'meth' undeclared (first use in this function)
> src/zope/security/_proxy.c:128: error: 'str_check_setattr' undeclared (first use in this function)
> src/zope/security/_proxy.c:129: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:130: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:130: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:130: error: 'name' undeclared (first use in this function)
> src/zope/security/_proxy.c:132: warning: implicit declaration of function 'PyObject_CallMethodObjArgs'
> src/zope/security/_proxy.c:132: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:133: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:282: error: expected ')' before '*' token
> src/zope/security/_proxy.c: In function 'proxy_clear':
> src/zope/security/_proxy.c:290: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:290: error: 'PyObject' undeclared (first use in this function)
> src/zope/security/_proxy.c:290: error: 't' undeclared (first use in this function)
> src/zope/security/_proxy.c:290: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:290: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c:291: error: 'SecurityProxyType' undeclared (first use in this function)
> src/zope/security/_proxy.c:291: error: expected expression before ')' token
> src/zope/security/_proxy.c: In function 'proxy_dealloc':
> src/zope/security/_proxy.c:299: error: 'SecurityProxyType' undeclared (first use in this function)
> src/zope/security/_proxy.c:299: error: 'PyObject' undeclared (first use in this function)
> src/zope/security/_proxy.c:299: error: expected expression before ')' token
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:303: error: expected declaration specifiers or '...' before 'visitproc'
> src/zope/security/_proxy.c: In function 'proxy_traverse':
> src/zope/security/_proxy.c:305: warning: implicit declaration of function 'visit'
> src/zope/security/_proxy.c:305: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:307: error: 'SecurityProxy' has no member named 'proxy_checker'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:312: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:350: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:364: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c:364: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_setattro':
> src/zope/security/_proxy.c:366: error: 'str_check_setattr' undeclared (first use in this function)
> src/zope/security/_proxy.c:366: error: 'name' undeclared (first use in this function)
> src/zope/security/_proxy.c:366: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:367: warning: implicit declaration of function 'PyObject_SetAttr'
> src/zope/security/_proxy.c:367: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:367: error: 'value' undeclared (first use in this function)
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:371: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:410: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:443: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_compare':
> src/zope/security/_proxy.c:445: warning: implicit declaration of function 'PyObject_Compare'
> src/zope/security/_proxy.c:445: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:445: error: 'other' undeclared (first use in this function)
> src/zope/security/_proxy.c: In function 'proxy_hash':
> src/zope/security/_proxy.c:451: warning: implicit declaration of function 'PyObject_Hash'
> src/zope/security/_proxy.c:451: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:454: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:484: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:485: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:487: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:488: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:490: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:501: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:502: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:504: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:544: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:551: error: expected ')' before '*' token
> src/zope/security/_proxy.c:596: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:597: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:598: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:601: error: expected ')' before '*' token
> src/zope/security/_proxy.c:606: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:607: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:608: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:609: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:611: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:613: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:614: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:615: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:617: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:618: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:619: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:620: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:621: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:622: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:623: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:625: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:626: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:627: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:628: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c: In function 'proxy_length':
> src/zope/security/_proxy.c:637: error: 'str_check' undeclared (first use in this function)
> src/zope/security/_proxy.c:637: error: 'str___len__' undeclared (first use in this function)
> src/zope/security/_proxy.c:637: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:638: warning: implicit declaration of function 'PyObject_Length'
> src/zope/security/_proxy.c:638: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:643: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:644: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c:644: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c:646: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:661: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_isetitem':
> src/zope/security/_proxy.c:663: error: 'PyObject' undeclared (first use in this function)
> src/zope/security/_proxy.c:663: error: 'key' undeclared (first use in this function)
> src/zope/security/_proxy.c:663: warning: implicit declaration of function 'PyInt_FromLong'
> src/zope/security/_proxy.c:667: error: 'value' undeclared (first use in this function)
> src/zope/security/_proxy.c:667: error: too many arguments to function 'proxy_setitem'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:686: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_ass_slice':
> src/zope/security/_proxy.c:688: error: 'str_check' undeclared (first use in this function)
> src/zope/security/_proxy.c:688: error: 'str___setslice__' undeclared (first use in this function)
> src/zope/security/_proxy.c:688: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:689: warning: implicit declaration of function 'PySequence_SetSlice'
> src/zope/security/_proxy.c:689: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:689: error: 'value' undeclared (first use in this function)
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:694: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_contains':
> src/zope/security/_proxy.c:696: error: 'str_check' undeclared (first use in this function)
> src/zope/security/_proxy.c:696: error: 'str___contains__' undeclared (first use in this function)
> src/zope/security/_proxy.c:696: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:697: warning: implicit declaration of function 'PySequence_Contains'
> src/zope/security/_proxy.c:697: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:697: error: 'value' undeclared (first use in this function)
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:705: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:719: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c:719: error: expected declaration specifiers or '...' before 'PyObject'
> src/zope/security/_proxy.c: In function 'proxy_setitem':
> src/zope/security/_proxy.c:721: error: 'value' undeclared (first use in this function)
> src/zope/security/_proxy.c:722: error: 'str_check' undeclared (first use in this function)
> src/zope/security/_proxy.c:722: error: 'str___delitem__' undeclared (first use in this function)
> src/zope/security/_proxy.c:722: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:723: warning: implicit declaration of function 'PyObject_DelItem'
> src/zope/security/_proxy.c:723: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c:723: error: 'key' undeclared (first use in this function)
> src/zope/security/_proxy.c:726: error: 'str___setitem__' undeclared (first use in this function)
> src/zope/security/_proxy.c:726: error: too many arguments to function 'check'
> src/zope/security/_proxy.c:727: warning: implicit declaration of function 'PyObject_SetItem'
> src/zope/security/_proxy.c:727: error: 'ProxyObject' has no member named 'proxy_object'
> src/zope/security/_proxy.c: At top level:
> src/zope/security/_proxy.c:737: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'proxy_as_number'
> src/zope/security/_proxy.c:785: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'proxy_as_sequence'
> src/zope/security/_proxy.c:797: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'proxy_as_mapping'
> src/zope/security/_proxy.c:817: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
> src/zope/security/_proxy.c:862: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:877: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> src/zope/security/_proxy.c:892: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'module_functions'
> src/zope/security/_proxy.c: In function 'init_proxy':
> src/zope/security/_proxy.c:905: error: 'PyObject' undeclared (first use in this function)
> src/zope/security/_proxy.c:905: error: 'm' undeclared (first use in this function)
> src/zope/security/_proxy.c:915: error: 'str___3pow__' undeclared (first use in this function)
> src/zope/security/_proxy.c:915: warning: implicit declaration of function 'PyString_InternFromString'
> src/zope/security/_proxy.c:916: error: 'str___call__' undeclared (first use in this function)
> src/zope/security/_proxy.c:917: error: 'str_check' undeclared (first use in this function)
> src/zope/security/_proxy.c:918: error: 'str_check_getattr' undeclared (first use in this function)
> src/zope/security/_proxy.c:919: error: 'str_check_setattr' undeclared (first use in this function)
> src/zope/security/_proxy.c:920: error: 'str___cmp__' undeclared (first use in this function)
> src/zope/security/_proxy.c:921: error: 'str___coerce__' undeclared (first use in this function)
> src/zope/security/_proxy.c:922: error: 'str___contains__' undeclared (first use in this function)
> src/zope/security/_proxy.c:923: error: 'str___delitem__' undeclared (first use in this function)
> src/zope/security/_proxy.c:924: error: 'str___getitem__' undeclared (first use in this function)
> src/zope/security/_proxy.c:925: error: 'str___getslice__' undeclared (first use in this function)
> src/zope/security/_proxy.c:926: error: 'str___hash__' undeclared (first use in this function)
> src/zope/security/_proxy.c:927: error: 'str___iter__' undeclared (first use in this function)
> src/zope/security/_proxy.c:928: error: 'str___len__' undeclared (first use in this function)
> src/zope/security/_proxy.c:929: error: 'str_next' undeclared (first use in this function)
> src/zope/security/_proxy.c:930: error: 'str___nonzero__' undeclared (first use in this function)
> src/zope/security/_proxy.c:931: error: 'str_op_abs' undeclared (first use in this function)
> src/zope/security/_proxy.c:932: error: 'str_op_add' undeclared (first use in this function)
> src/zope/security/_proxy.c:933: error: 'str_op_and' undeclared (first use in this function)
> src/zope/security/_proxy.c:934: error: 'str_op_div' undeclared (first use in this function)
> src/zope/security/_proxy.c:935: error: 'str_op_divmod' undeclared (first use in this function)
> src/zope/security/_proxy.c:936: error: 'str_op_float' undeclared (first use in this function)
> src/zope/security/_proxy.c:937: error: 'str_op_floordiv' undeclared (first use in this function)
> src/zope/security/_proxy.c:938: error: 'str_op_hex' undeclared (first use in this function)
> src/zope/security/_proxy.c:939: error: 'str_op_iadd' undeclared (first use in this function)
> src/zope/security/_proxy.c:940: error: 'str_op_iand' undeclared (first use in this function)
> src/zope/security/_proxy.c:941: error: 'str_op_idiv' undeclared (first use in this function)
> src/zope/security/_proxy.c:942: error: 'str_op_ifloordiv' undeclared (first use in this function)
> src/zope/security/_proxy.c:943: error: 'str_op_ilshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:944: error: 'str_op_imod' undeclared (first use in this function)
> src/zope/security/_proxy.c:945: error: 'str_op_imul' undeclared (first use in this function)
> src/zope/security/_proxy.c:946: error: 'str_op_int' undeclared (first use in this function)
> src/zope/security/_proxy.c:947: error: 'str_op_invert' undeclared (first use in this function)
> src/zope/security/_proxy.c:948: error: 'str_op_ior' undeclared (first use in this function)
> src/zope/security/_proxy.c:949: error: 'str_op_ipow' undeclared (first use in this function)
> src/zope/security/_proxy.c:950: error: 'str_op_irshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:951: error: 'str_op_isub' undeclared (first use in this function)
> src/zope/security/_proxy.c:952: error: 'str_op_itruediv' undeclared (first use in this function)
> src/zope/security/_proxy.c:953: error: 'str_op_ixor' undeclared (first use in this function)
> src/zope/security/_proxy.c:954: error: 'str_op_long' undeclared (first use in this function)
> src/zope/security/_proxy.c:955: error: 'str_op_lshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:956: error: 'str_op_mod' undeclared (first use in this function)
> src/zope/security/_proxy.c:957: error: 'str_op_mul' undeclared (first use in this function)
> src/zope/security/_proxy.c:958: error: 'str_op_neg' undeclared (first use in this function)
> src/zope/security/_proxy.c:959: error: 'str_op_oct' undeclared (first use in this function)
> src/zope/security/_proxy.c:960: error: 'str_op_or' undeclared (first use in this function)
> src/zope/security/_proxy.c:961: error: 'str_op_pos' undeclared (first use in this function)
> src/zope/security/_proxy.c:962: error: 'str_op_radd' undeclared (first use in this function)
> src/zope/security/_proxy.c:963: error: 'str_op_rand' undeclared (first use in this function)
> src/zope/security/_proxy.c:964: error: 'str_op_rdiv' undeclared (first use in this function)
> src/zope/security/_proxy.c:965: error: 'str_op_rdivmod' undeclared (first use in this function)
> src/zope/security/_proxy.c:966: error: 'str_op_rfloordiv' undeclared (first use in this function)
> src/zope/security/_proxy.c:967: error: 'str_op_rlshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:968: error: 'str_op_rmod' undeclared (first use in this function)
> src/zope/security/_proxy.c:969: error: 'str_op_rmul' undeclared (first use in this function)
> src/zope/security/_proxy.c:970: error: 'str_op_ror' undeclared (first use in this function)
> src/zope/security/_proxy.c:971: error: 'str_op_rrshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:972: error: 'str_op_rshift' undeclared (first use in this function)
> src/zope/security/_proxy.c:973: error: 'str_op_rsub' undeclared (first use in this function)
> src/zope/security/_proxy.c:974: error: 'str_op_rtruediv' undeclared (first use in this function)
> src/zope/security/_proxy.c:975: error: 'str_op_rxor' undeclared (first use in this function)
> src/zope/security/_proxy.c:976: error: 'str_op_sub' undeclared (first use in this function)
> src/zope/security/_proxy.c:977: error: 'str_op_truediv' undeclared (first use in this function)
> src/zope/security/_proxy.c:978: error: 'str_op_xor' undeclared (first use in this function)
> src/zope/security/_proxy.c:979: error: 'str___pow__' undeclared (first use in this function)
> src/zope/security/_proxy.c:980: error: 'str_proxy' undeclared (first use in this function)
> src/zope/security/_proxy.c:981: error: 'str___repr__' undeclared (first use in this function)
> src/zope/security/_proxy.c:982: error: 'str___rpow__' undeclared (first use in this function)
> src/zope/security/_proxy.c:983: error: 'str___setitem__' undeclared (first use in this function)
> src/zope/security/_proxy.c:984: error: 'str___setslice__' undeclared (first use in this function)
> src/zope/security/_proxy.c:985: error: 'str___str__' undeclared (first use in this function)
> src/zope/security/_proxy.c:988: error: '__class__str' undeclared (first use in this function)
> src/zope/security/_proxy.c:988: warning: implicit declaration of function 'PyString_FromString'
> src/zope/security/_proxy.c:991: error: '__name__str' undeclared (first use in this function)
> src/zope/security/_proxy.c:994: error: '__module__str' undeclared (first use in this function)
> src/zope/security/_proxy.c:997: error: 'SecurityProxyType' undeclared (first use in this function)
> src/zope/security/_proxy.c:997: error: 'PyType_Type' undeclared (first use in this function)
> src/zope/security/_proxy.c:998: error: 'PyType_GenericAlloc' undeclared (first use in this function)
> src/zope/security/_proxy.c:999: error: '_PyObject_GC_Del' undeclared (first use in this function)
> src/zope/security/_proxy.c:1000: error: 'ProxyInterface' has no member named 'proxytype'
> src/zope/security/_proxy.c:1001: warning: implicit declaration of function 'PyType_Ready'
> src/zope/security/_proxy.c:1004: warning: implicit declaration of function 'Py_InitModule3'
> src/zope/security/_proxy.c:1004: error: 'module_functions' undeclared (first use in this function)
> src/zope/security/_proxy.c:1008: warning: implicit declaration of function 'Py_INCREF'
> src/zope/security/_proxy.c:1009: warning: implicit declaration of function 'PyModule_AddObject'
> src/zope/security/_proxy.c:1009: error: expected expression before ')' token
> error: Setup script exited with error: command 'gcc' failed with exit status 1
> An error occured when trying to install zope.security 3.4.0.Look above this message for any errors thatwere output by easy_install.
> While:
>  Installing app.
>  Getting distribution for 'zope.security==3.4.0'.
> Error: Couldn't install: zope.security 3.4.0
>
>
>
>> Message du 14/05/08 19:08
>> De : "Christophe Combelles" <ccomb at free.fr>
>> A : zope3-french-user at lists.afpy.org
>> Copie à :
>> Objet : Re: [Zope3-french-user] [Afpy-membres] z3c
>>
>> Gaël Pasgrimaud a écrit :
>> > T'as bien gcc ?
>> >
>> > C'est pas super parlant comme message d'erreur.
>>
>> ah oui, faut peut-être faire un apt-get install build-essential(s) pour avoir
>> les trucs de dev.
>>
>> >
>> > essais ./bin/buildout -vvvv
>> >
>> > 2008/5/14 Albert DURANTON <albert.duranton375 at orange.fr>:
>> >> Merci de ta réponse. J'ai fait ce que tu as dit et j'obtiens maintenant :
>> >> "couldn't install: zope.security 3.4.0". Comment installer ce zope security 3.4.0 ?
>> >> Encore merci.
>> >>
>> >>
>> >>> Message du 13/05/08 22:09
>> >>> De : "Christophe Combelles" <ccomb at free.fr>
>> >>> A : "Liste de diffusion des membres de l'association" <afpy-membres at lists.afpy.org>, "Liste générique sur Zope3" <zope3-french-user at lists.afpy.org>
>> >>> Copie à :
>> >>> Objet : Re: [Zope3-french-user] [Afpy-membres] z3c
>> >>>
>> >>> Je cross-poste sur zope3-french-user pour ramener ça dans la bonne liste.
>> >>>
>> >>>
>> >>> Le plus facile est d'utiliser zopeproject en forçant zope 3.4 :
>> >>>
>> >>> - tu vires TOUS les paquets zope de ton système (ceux installés avec
>> >>> apt-get/synatic)
>> >>> Ensuite :
>> >>> sudo apt-get install python-setuptools python2.4
>> >>> sudo python2.4 /usr/bin/easy_install zopeproject
>> >>> sudo python2.4 /usr/bin/easy_install zc.buildout
>> >>>
>> >>> par défaut zopeproject utilise des paquets trop récents,
>> >>> donc il faut le lancer avec:
>> >>>
>> >>> python2.4 /usr/bin/zopeproject --no-buildout ton_projet
>> >>>
>> >>> Ensuite tu modifies le fichier buildout.cfg
>> >>> et tu remplaces la ligne "find-links = ..."  par :
>> >>>
>> >>> extends = http://download.zope.org/zope3.4/versions.cfg
>> >>> versions = versions
>> >>>
>> >>> Ca permet de se fixer de force sur les paquets de zope 3.4
>> >>>
>> >>> Ensuite tu fais : python2.4 /usr/bin/buildout
>> >>>
>> >>> A partir de là ton instance doit démarrer :
>> >>> ./bin/ton_projet-ctl fg
>> >>> ou
>> >>> ./bin/paster serve deploy.ini
>> >>> ou
>> >>> ./bin/paster serve debug.ini
>> >>> ou
>> >>> ./bin/ton_projet-ctl debug (pour avoir un shell python avec toutes les
>> >>> inscriptions du registre, et la zodb accessible directement dans l'objet 'root')
>> >>>
>> >>> Ensuite tu peux ajouter des paquets z3c dans le setup.py, et relancer ton
>> >>> buildout pour les récupérer/installer.
>> >>>
>> >>> Pour les utiliser, il suffit ensuite de les ajouter dans
>> >>> src/ton_projet/configure.zcml
>> >>>
>> >>> Christophe
>> >>>
>> >>> Albert DURANTON a écrit :
>> >>>> Avec le tutoriel "zope3 et les paquets communautaires" traduit par Thierry Floirac je tente une bouvelle fois de suivre ses instructions avec ma distribution UBUNTU et j'obtiens la même erreur qu'avec ma DEBIAN lenny. "Couldn't install zope.security 3.5.0". J'installe avec la même procédure le paquet "zope.security 3.5.0". Je relance la procédure et j'obtiens "Couldn't install zope.interface 3.4.1". J'installe de la même façon zope.interface 3.4.1 et de nouveau j'obtiens "couldn't install zope.security 3.5.0".
>> >>>> Je tourne en rond et il me semble que je suis encore loin de pouvoir utiliser la procédure des "eggs".
>> >>>> Je remercie d'avance celui qui pourrait me mettre dans le bon chemin qui me permettra enfin d'essayer z3c.
>> >>>> Merci d'avance.
>> >>>> Albert
>> >>>>
>> >>>> _______________________________________________
>> >>>> AFPy-membres mailing list
>> >>>> AFPy-membres at lists.afpy.org
>> >>>> http://lists.afpy.org/mailman/listinfo/afpy-membres
>> >>>>
>> >>>>
>> >>> _______________________________________________
>> >>> zope3-french-user mailing list
>> >>> zope3-french-user at lists.afpy.org
>> >>> http://lists.afpy.org/mailman/listinfo/zope3-french-user
>> >>>
>> >>>
>> >>
>> >> _______________________________________________
>> >> zope3-french-user mailing list
>> >> zope3-french-user at lists.afpy.org
>> >> http://lists.afpy.org/mailman/listinfo/zope3-french-user
>> >>
>> > _______________________________________________
>> > zope3-french-user mailing list
>> > zope3-french-user at lists.afpy.org
>> > http://lists.afpy.org/mailman/listinfo/zope3-french-user
>> >
>> >
>>
>> _______________________________________________
>> zope3-french-user mailing list
>> zope3-french-user at lists.afpy.org
>> http://lists.afpy.org/mailman/listinfo/zope3-french-user
>>
>>
>
>
> _______________________________________________
> zope3-french-user mailing list
> zope3-french-user at lists.afpy.org
> http://lists.afpy.org/mailman/listinfo/zope3-french-user
>


Plus d'informations sur la liste de diffusion zope3-french-user