On Wed, 2008-01-16 at 23:52 +0000, Martin Aspeli wrote: > Gary Koskenmaki wrote: > > Hi All, > > > > I attempted to do an easy_install of Plone3 from scratch using the > > easy_install method and it failed at the first step when trying to > > install ZopeSkel. Here is the output and the failure message. > > > > Can anyone point me in the right direction? > > > > Job:/mnt/sata/plone3# easy_install ZopeSkel > > Searching for ZopeSkel > > Best match: ZopeSkel 1.4 > > Processing ZopeSkel-1.4-py2.4.egg > > ZopeSkel 1.4 is already the active version in easy-install.pth > > > > Using /mnt/sata/plone3/python2.4/site-packages/ZopeSkel-1.4-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-H561cB/Cheetah-2.0.1/egg-dist-tmp-zB_V8v > > 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 such file or 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: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 > > What platform are you on? > > Which version of Python are you using? Did you compile it yourself or > use a system Python? Do you have the headers installed? > > Martin > Arrrggghhh... I am just getting off to a very bad start on this list. Sorry, Martin, for sending you my reply rather than to the list. Once again, my bad. I know better, it just slipped past my attention for some reason. Must just be one of "those days" I guess. Evolution doesn't like mailing lists all that well, and I just flat out spaced out making sure my reply went to the list.
I knew better than leave out that info. However, despite my failure you pointed me in the correct direction anyway. I hadn't installed the python-dev package. I'm running Debian Sid and using Python 2.4.4 and the GCC version is 4.2.3. You got me past that problem, and now I ran into an error message that is just so vague I don't really know what to look for in the ./bin/buildout portion of the build. [quote]Getting distribution for 'python-openid>=2.0.0,<2.0.999'. error: Couldn't find a setup script in /mnt/sata/plone3/python2.4/site-packages An error occured when trying to install python-openid 2.0.2.Look above this message for any errors thatwere output by easy_install. While: Installing plone. Getting distribution for 'python-openid>=2.0.0,<2.0.999'. Error: Couldn't install: python-openid 2.0.2 [/quote] python-openid-2.0.2.egg-info is in the /mnt/sata/plone3/python2.4/site-packages directory. With the wording of the error--a setup script--I don't really know what else to look for. There were no errors generated beyond my initial screwup of not having the development headers installed until this one. _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
