Following the setup instructions from here: http://book.schooltool.org/htmlhelp/cando.html, I am trying to install CanDo in my 64-bit Jaunty machine.
However, after executing
$ sudo make ubuntu-environment
I get the following errors:
-------------------------------------
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:17:20: error: Python.h: No such file or directory
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:47: error: expected specifier-qualifier-list before ‘PyUnicodeObject’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘MessageType’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:114:26: error: structmember.h: No such file or directory
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Message_members’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:124: error: expected declaration specifiers or ‘...’ before ‘visitproc’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c: In function ‘Message_traverse’:
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:126: error: ‘Message’ has no member named ‘domain’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:126: warning: implicit declaration of function ‘visit’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:126: error: ‘Message’ has no member named ‘domain’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:127: error: ‘Message’ has no member named ‘default_’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:127: error: ‘Message’ has no member named ‘default_’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:128: error: ‘Message’ has no member named ‘mapping’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:128: error: ‘Message’ has no member named ‘mapping’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c: In function ‘Message_clear’:
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘Message’ has no member named ‘domain’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘PyObject’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: (Each undeclared identifier is reported only once
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: for each function it appears in.)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘tmp’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘Message’ has no member named ‘domain’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘Message’ has no member named ‘domain’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: error: ‘NULL’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:135: warning: implicit declaration of function ‘Py_DECREF’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:136: error: ‘Message’ has no member named ‘default_’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:136: error: ‘Message’ has no member named ‘default_’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:136: error: ‘Message’ has no member named ‘default_’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:137: error: ‘Message’ has no member named ‘mapping’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:137: error: ‘Message’ has no member named ‘mapping’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:137: error: ‘Message’ has no member named ‘mapping’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c: In function ‘Message_dealloc’:
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:145: error: ‘Message’ has no member named ‘base’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:145: error: ‘PyObject’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:145: error: expected expression before ‘)’ token
src/zope/i18nmessageid/_zope_i18nmessageid_message.c: At top level:
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:164: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Message_methods’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘PyTypeObject’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:234: error: array type has incomplete element type
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:235: error: ‘NULL’ undeclared here (not in a function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:235: error: ‘PyCFunction’ undeclared here (not in a function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:235: error: expected ‘}’ before ‘NULL’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c: In function ‘init_zope_i18nmessageid_message’:
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:249: error: ‘PyObject’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:249: error: ‘m’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:251: error: ‘MessageType’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:251: error: ‘PyUnicode_Type’ undeclared (first use in this function)
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:252: warning: implicit declaration of function ‘PyType_Ready’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:256: warning: implicit declaration of function ‘Py_InitModule3’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:264: warning: implicit declaration of function ‘PyModule_AddObject’
src/zope/i18nmessageid/_zope_i18nmessageid_message.c:264: 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.i18nmessageid 3.4.3.Look above this message for any errors thatwere output by easy_install.
While:
Installing cando.
Getting distribution for 'zope.i18nmessageid==3.4.3'.
Error: Couldn't install: zope.i18nmessageid 3.4.3
make[1]: *** [buildout] Error 1
make[1]: Leaving directory `/home/erwin/cando'
make: *** [build] Error 2
----------------------
Did I miss anything?