ciao a tutti... ho un problema nel tentativo di installare plone/zope con zc.buildout... sto seguendo la guida su http://redomino.com/it/labs/documentazione/tutorial/gestire-progetti-con-zc-buildout/tutorial-all-pagesma quando arrivo a dare il comando easy_install-2.4 -U ZopeSkel mi ritorna un errore...
la macchina è una vps con ubuntu 8.04 appena creata (quidi pulita da qualsiasi installazione di qualsiasi genere)... gli unici pacchetti che ho installato sono python2.4 (perchè di default è installato il 2.5.2), pil, gcc e wget... qua sotto avete il comando con quello che mi appare a schermo (collegamento ssh): r...@vps:~# easy_install-2.4 -U ZopeSkel Searching for ZopeSkel Reading http://pypi.python.org/simple/ZopeSkel/ Best match: ZopeSkel 2.10 Processing ZopeSkel-2.10-py2.4.egg ZopeSkel 2.10 is already the active version in easy-install.pth Using /usr/lib/python2.4/site-packages/ZopeSkel-2.10-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-zurich/Cheetah-2.0.1/egg-dist-tmp-BeCub1 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: Nessun file o directory src/_namemapper.c:16:20: error: string.h: Nessun file o directory src/_namemapper.c:17:20: error: stdlib.h: Nessun file o directory 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:79: error: 'NULL' 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: error: 'NULL' 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:459: error: 'NULL' undeclared here (not in a function) 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 -- Zanon Samuele mailto:webs86 AT gmail DOT com
_______________________________________________ Plone-IT mailing list Plone-IT@lists.plone.org http://lists.plone.org/mailman/listinfo/plone-it http://www.nabble.com/Plone---Italy-f21728.html