[Setup] Failed ZopeSkel install

yude at cip.cu yude at cip.cu
Sun Jul 6 04:59:57 UTC 2008


Hello

I am attempting a new install of Zope/Plone via the method in "Professional
Plone Development". I made sure all the pre-requisites are in place but I am
getting an error during the ZopeSkel install.  My Gcc is version 4.2.2

The complete error message is in the attachment cause its very large

I have seen this error in my searches, but no clean answers were listed, so I am asking for assistance.

Thanks,

Yudeisy

-------------- next part --------------

# easy_install ZopeSkel
Searching for ZopeSkel
Best match: ZopeSkel 2.3
Processing ZopeSkel-2.3-py2.4.egg
ZopeSkel 2.3 is already the active version in easy-install.pth

Using /usr/lib/python2.4/site-packages/ZopeSkel-2.3-py2.4.egg
Processing dependencies for ZopeSkel
Searching for Cheetah
Reading http://pypi.python.org/simple/Cheetah/
Reading http://www.CheetahTemplate.org/
Reading http://sourceforge.net/project/showfiles.php?group_id=28961
Best match: Cheetah 2.0.1
Downloading http://downloads.sourceforge.net/cheetahtemplate/Cheetah-2.0.1.tar.gz?download
Processing Cheetah-2.0.1.tar.gz
Running Cheetah-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HJnatY/Cheetah-2.0.1/egg-dist-tmp-AAbBmC
warning: no files found matching '*.cfg'
warning: no files found matching 'examples'
warning: no files found matching 'docs'
warning: no files found matching 'bin'
warning: no files found matching '*' under directory 'docs'
warning: no files found matching '*' under directory 'examples'
warning: no previously-included files matching '*.pyc' found under directory 'src'
warning: no previously-included files matching '*~' found under directory 'src'
warning: no previously-included files matching '*.aux' found under directory 'src'
warning: no previously-included files matching '*~' found under directory 'docs'
warning: no previously-included files matching '*.aux' found under directory 'docs'
src/_namemapper.c:15:58: error: Python.h: No existe el fichero o el directorio
src/_namemapper.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:75: error: expected declaration specifiers or ‘...’ before ‘PyObject’
src/_namemapper.c: In function ‘setNotFoundException’:
src/_namemapper.c:79: error: ‘PyObject’ undeclared (first use in this function)
src/_namemapper.c:79: error: (Each undeclared identifier is reported only once
src/_namemapper.c:79: error: for each function it appears in.)
src/_namemapper.c:79: error: ‘exceptionStr’ undeclared (first use in this function)
src/_namemapper.c:80: warning: implicit declaration of function ‘Py_BuildValue’
src/_namemapper.c:81: warning: implicit declaration of function ‘PyString_ConcatAndDel’
src/_namemapper.c:86: warning: implicit declaration of function ‘PyObject_CallFunctionObjArgs’
src/_namemapper.c:86: error: ‘pprintMod_pformat’ undeclared (first use in this function)
src/_namemapper.c:86: error: ‘namespace’ undeclared (first use in this function)
src/_namemapper.c:88: warning: implicit declaration of function ‘PyErr_SetObject’
src/_namemapper.c:88: error: ‘NotFound’ undeclared (first use in this function)
src/_namemapper.c:89: warning: implicit declaration of function ‘Py_DECREF’
src/_namemapper.c: At top level:
src/_namemapper.c:93: error: expected declaration specifiers or ‘...’ before ‘PyObject’
src/_namemapper.c: In function ‘wrapInternalNotFoundException’:
src/_namemapper.c:95: error: ‘PyObject’ undeclared (first use in this function)
src/_namemapper.c:95: error: ‘excType’ undeclared (first use in this function)
src/_namemapper.c:95: error: ‘excValue’ undeclared (first use in this function)
src/_namemapper.c:95: warning: left-hand operand of comma expression has no effect
src/_namemapper.c:95: error: ‘excTraceback’ undeclared (first use in this function)
src/_namemapper.c:95: warning: left-hand operand of comma expression has no effect
src/_namemapper.c:95: error: ‘isAlreadyWrapped’ undeclared (first use in this function)
src/_namemapper.c:95: warning: left-hand operand of comma expression has no effect
src/_namemapper.c:99: warning: implicit declaration of function ‘PyErr_Occurred’
src/_namemapper.c:99: warning: implicit declaration of function ‘PyErr_GivenExceptionMatches’
src/_namemapper.c:99: error: ‘NotFound’ undeclared (first use in this function)
src/_namemapper.c:100: warning: implicit declaration of function ‘PyErr_Fetch’
src/_namemapper.c:101: warning: implicit declaration of function ‘PyObject_CallMethod’
src/_namemapper.c:104: warning: implicit declaration of function ‘PyInt_AsLong’
src/_namemapper.c:112: error: ‘pprintMod_pformat’ undeclared (first use in this function)
src/_namemapper.c:112: error: ‘namespace’ undeclared (first use in this function)
src/_namemapper.c:117: warning: implicit declaration of function ‘PyErr_Restore’
src/_namemapper.c: In function ‘getNameChunks’:
src/_namemapper.c:134: warning: implicit declaration of function ‘PyErr_SetString’
src/_namemapper.c:134: error: ‘TooManyPeriods’ undeclared (first use in this function)
src/_namemapper.c: At top level:
src/_namemapper.c:153: error: expected ‘)’ before ‘*’ token
src/_namemapper.c:165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:251: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:285: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:338: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_namemapper.c:453: error: array type has incomplete element type
src/_namemapper.c:454: error: ‘namemapper_valueForKey’ undeclared here (not in a function)
src/_namemapper.c:455: error: ‘PyCFunction’ undeclared here (not in a function)
src/_namemapper.c:455: error: expected ‘}’ before ‘namemapper_valueForName’
src/_namemapper.c:456: error: expected ‘}’ before ‘namemapper_valueFromSearchList’
src/_namemapper.c:457: error: expected ‘}’ before ‘namemapper_valueFromFrame’
src/_namemapper.c:458: error: expected ‘}’ before ‘namemapper_valueFromFrameOrSearchList’
src/_namemapper.c:467: warning: return type defaults to ‘int’
src/_namemapper.c: In function ‘DL_EXPORT’:
src/_namemapper.c:467: error: expected declaration specifiers before ‘init_namemapper’
src/_namemapper.c:486: error: expected ‘{’ at end of input
error: Setup script exited with error: command 'gcc' failed with exit status 1



More information about the Setup mailing list