[Zope] easy_install Zope glitch on Debian aqueeze

Eric d'Halibut eric.halibut at gmail.com
Thu Jun 23 18:39:51 EDT 2011


Testing an install of Zope on an up-to-date Debian squeeze install, I
get this below. Versions include:

python2.6                       2.6.6-8+b1
gcc                                  4:4.4.5-1

Does this ring any bells with anyone?

# cd /usr/local/src/Zopework
# easy_install -U ZopeSkel
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for ZopeSkel
Reading http://pypi.python.org/simple/ZopeSkel/
Reading http://svn.plone.org/svn/collective/ZopeSkel/trunk
Reading https://svn.plone.org/svn/collective/ZopeSkel/trunk
Best match: ZopeSkel 2.19
Processing ZopeSkel-2.19-py2.6.egg
ZopeSkel 2.19 is already the active version in easy-install.pth
Installing zopeskel script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/ZopeSkel-2.19-py2.6.egg
Processing dependencies for ZopeSkel
Searching for Cheetah>1.0,<=2.2.1
Reading http://pypi.python.org/simple/Cheetah/
Reading http://www.CheetahTemplate.org/
Reading http://sourceforge.net/project/showfiles.php?group_id=28961
Reading http://www.cheetahtemplate.org/
Best match: Cheetah 2.2.1
Downloading http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.2.1.tar.gz#md5=c80e03b9b445d7da26278101a473191c
Processing Cheetah-2.2.1.tar.gz
Running Cheetah-2.2.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-X_3nF5/Cheetah-2.2.1/egg-dist-tmp-0s5dIn
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: At top level:
src/_namemapper.c:126: error: expected â)â before â*â token
src/_namemapper.c: In function âgetNameChunksâ:
src/_namemapper.c:162: warning: implicit declaration of function
âPyErr_SetStringâ
src/_namemapper.c:162: error: âTooManyPeriodsâ undeclared (first use
in this function)
src/_namemapper.c: At top level:
src/_namemapper.c:181: error: expected â)â before â*â token
src/_namemapper.c:193: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:210: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:274: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:288: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:322: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:375: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:442: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/_namemapper.c:490: error: array type has incomplete element type
src/_namemapper.c:491: error: ânamemapper_valueForKeyâ undeclared here
(not in a function)
src/_namemapper.c:492: error: âPyCFunctionâ undeclared here (not in a function)
src/_namemapper.c:492: error: expected â}â before ânamemapper_valueForNameâ
src/_namemapper.c:493: error: expected â}â before
ânamemapper_valueFromSearchListâ
src/_namemapper.c:494: error: expected â}â before ânamemapper_valueFromFrameâ
src/_namemapper.c:495: error: expected â}â before
ânamemapper_valueFromFrameOrSearchListâ
src/_namemapper.c:504: warning: return type defaults to âintâ
src/_namemapper.c: In function âDL_EXPORTâ:
src/_namemapper.c:504: error: expected declaration specifiers before
âinit_namemapperâ
src/_namemapper.c:523: error: expected â{â at end of input
error: Setup script exited with error: command 'gcc' failed with exit status 1






-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


More information about the Zope mailing list