[TransWarp] Re: Failed Installation

beno zope at thewebsons.com
Sun Dec 1 01:18:06 EST 2002


 > At 12:59 PM 11/28/02 -0400, beno wrote:
 > >Hi; >I d'l'd the tarball and tried to execute the install according to the
 > >instructions:
 > >python setup.py install
 > >in the PEAK dir. I got this error:
 > >error: command 'gcc' failed with exit status 1
 > >I tried to run the test suite with the same result. I have gcc installed
 > >and run a late version of Zope and Python. What have I done wrong?
 > >beno

 > I don't know if it's anything you did wrong; first I'd need to see the
 > error output from gcc. Can you send it? I suggest "python setup.py
 > -q install 2>&1 | less" to get to read the errors better. What platform
 > are you on, by the way? I've only tested builds on Windows and
 > Linux thus far.

I'm using RH72. Here's the complete output from the above command:

#cd PEAK
#python setup.py -q install 2>&1 | less
src/Persistence/cPersistence.c: In function `_PyPersist_RegisterDataManager':
src/Persistence/cPersistence.c:58: warning: implicit declaration of 
function `PyObject_Call'
src/Persistence/cPersistence.c:58: warning: assignment makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: In function `_PyPersist_Load':
src/Persistence/cPersistence.c:94: warning: assignment makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: In function `persist_getstate':
src/Persistence/cPersistence.c:123: warning: implicit declaration of 
function `_PyObject_GetDictPtr'
src/Persistence/cPersistence.c:123: warning: initialization makes pointer 
from integer without a cast
src/Persistence/cPersistence.c: In function `persist_setstate':
src/Persistence/cPersistence.c:173: warning: assignment makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: In function `persist_deactivate':
src/Persistence/cPersistence.c:216: warning: initialization makes pointer 
from integer without a cast
src/Persistence/cPersistence.c: In function `call_p_deactivate':
src/Persistence/cPersistence.c:253: warning: assignment makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: In function `persist_getattro':
src/Persistence/cPersistence.c:416: warning: implicit declaration of 
function `PyObject_GenericGetAttr'
src/Persistence/cPersistence.c:416: warning: assignment makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: In function `persist_setattro':
src/Persistence/cPersistence.c:497: warning: implicit declaration of 
function `PyObject_GenericSetAttr'
src/Persistence/cPersistence.c: In function `persist_dealloc':
src/Persistence/cPersistence.c:566: warning: implicit declaration of 
function `PyObject_GC_Del'
src/Persistence/cPersistence.c: At top level:
src/Persistence/cPersistence.c:646: `METH_NOARGS' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:646: initializer element is not constant
src/Persistence/cPersistence.c:646: (near initialization for 
`persist_methods[0].ml_flags')
src/Persistence/cPersistence.c:647: `METH_NOARGS' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:647: initializer element is not constant
src/Persistence/cPersistence.c:647: (near initialization for 
`persist_methods[1].ml_flags')
src/Persistence/cPersistence.c:648: `METH_O' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:648: initializer element is not constant
src/Persistence/cPersistence.c:648: (near initialization for 
`persist_methods[2].ml_flags')
src/Persistence/cPersistence.c:649: `METH_NOARGS' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:649: initializer element is not constant
src/Persistence/cPersistence.c:649: (near initialization for 
`persist_methods[3].ml_flags')
src/Persistence/cPersistence.c:650: `METH_NOARGS' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:650: initializer element is not constant
src/Persistence/cPersistence.c:650: (near initialization for 
`persist_methods[4].ml_flags')
src/Persistence/cPersistence.c:652: `METH_O' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:652: initializer element is not constant
src/Persistence/cPersistence.c:652: (near initialization for 
`persist_methods[6].ml_flags')
src/Persistence/cPersistence.c:656: parse error before `persist_getsets'
src/Persistence/cPersistence.c:656: warning: type defaults to `int' in 
declaration of `persist_getsets'
src/Persistence/cPersistence.c:657: warning: braces around scalar initializer
src/Persistence/cPersistence.c:657: warning: (near initialization for 
`persist_getsets[0]')
src/Persistence/cPersistence.c:657: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:657: `getter' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:657: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:657: warning: (near initialization for 
`persist_getsets[0]')
src/Persistence/cPersistence.c:657: parse error before `persist_get_state'
src/Persistence/cPersistence.c:657: `setter' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:657: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:657: warning: (near initialization for 
`persist_getsets[0]')
src/Persistence/cPersistence.c:657: parse error before `persist_set_state'
src/Persistence/cPersistence.c:658: warning: braces around scalar initializer
src/Persistence/cPersistence.c:658: warning: (near initialization for 
`persist_getsets[1]')
src/Persistence/cPersistence.c:658: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:659: warning: data definition has no type or 
storage class
src/Persistence/cPersistence.c:663: parse error before `persist_members'
src/Persistence/cPersistence.c:663: warning: type defaults to `int' in 
declaration of `persist_members'
src/Persistence/cPersistence.c:664: warning: braces around scalar initializer
src/Persistence/cPersistence.c:664: warning: (near initialization for 
`persist_members[0]')
src/Persistence/cPersistence.c:664: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:664: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:664: warning: (near initialization for 
`persist_members[0]')
src/Persistence/cPersistence.c:664: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:664: warning: (near initialization for 
`persist_members[0]')
src/Persistence/cPersistence.c:665: warning: braces around scalar initializer
src/Persistence/cPersistence.c:665: warning: (near initialization for 
`persist_members[1]')
src/Persistence/cPersistence.c:665: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:665: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:665: warning: (near initialization for 
`persist_members[1]')
src/Persistence/cPersistence.c:665: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:665: warning: (near initialization for 
`persist_members[1]')
src/Persistence/cPersistence.c:666: warning: braces around scalar initializer
src/Persistence/cPersistence.c:666: warning: (near initialization for 
`persist_members[2]')
src/Persistence/cPersistence.c:666: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:666: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:666: warning: (near initialization for 
`persist_members[2]')
src/Persistence/cPersistence.c:666: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:666: warning: (near initialization for 
`persist_members[2]')
src/Persistence/cPersistence.c:667: warning: braces around scalar initializer
src/Persistence/cPersistence.c:667: warning: (near initialization for 
`persist_members[3]')
src/Persistence/cPersistence.c:667: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:667: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:667: warning: (near initialization for 
`persist_members[3]')
src/Persistence/cPersistence.c:667: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:667: warning: (near initialization for 
`persist_members[3]')
src/Persistence/cPersistence.c:668: warning: braces around scalar initializer
src/Persistence/cPersistence.c:668: warning: (near initialization for 
`persist_members[4]')
src/Persistence/cPersistence.c:668: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:668: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:668: warning: (near initialization for 
`persist_members[4]')
src/Persistence/cPersistence.c:668: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:668: warning: (near initialization for 
`persist_members[4]')
src/Persistence/cPersistence.c:668: warning: excess elements in scalar 
initializer
src/Persistence/cPersistence.c:668: warning: (near initialization for 
`persist_members[4]')
src/Persistence/cPersistence.c:669: warning: braces around scalar initializer
src/Persistence/cPersistence.c:669: warning: (near initialization for 
`persist_members[5]')
src/Persistence/cPersistence.c:669: warning: initialization makes integer 
from pointer without a cast
src/Persistence/cPersistence.c:670: warning: data definition has no type or 
storage class
src/Persistence/cPersistence.c:702: `Py_TPFLAGS_HAVE_GC' undeclared here 
(not in a function)
src/Persistence/cPersistence.c:703: `Py_TPFLAGS_BASETYPE' undeclared here 
(not in a function)
src/Persistence/cPersistence.c:703: initializer element is not constant
src/Persistence/cPersistence.c:703: (near initialization for 
`PyPersist_Type.tp_flags')
src/Persistence/cPersistence.c:709: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:709: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:710: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:710: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:711: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:711: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:712: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:712: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:713: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:713: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:714: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:714: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:715: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:715: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:716: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:716: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:717: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:717: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:718: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:718: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:719: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:719: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:720: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:720: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c:721: warning: excess elements in struct 
initializer
src/Persistence/cPersistence.c:721: warning: (near initialization for 
`PyPersist_Type')
src/Persistence/cPersistence.c: In function `simple_new':
src/Persistence/cPersistence.c:837: warning: implicit declaration of 
function `PyType_GenericNew'
src/Persistence/cPersistence.c:837: warning: return makes pointer from 
integer without a cast
src/Persistence/cPersistence.c: At top level:
src/Persistence/cPersistence.c:841: `METH_O' undeclared here (not in a 
function)
src/Persistence/cPersistence.c:841: initializer element is not constant
src/Persistence/cPersistence.c:841: (near initialization for 
`PyPersist_methods[0].ml_flags')
src/Persistence/cPersistence.c: In function `persist_set_interface':
src/Persistence/cPersistence.c:871: structure has no member named `tp_dict'
src/Persistence/cPersistence.c:872: structure has no member named `tp_dict'
src/Persistence/cPersistence.c: In function `initcPersistence':
src/Persistence/cPersistence.c:936: structure has no member named `tp_new'
src/Persistence/cPersistence.c:936: `PyType_GenericNew' undeclared (first 
use in this function)
src/Persistence/cPersistence.c:936: (Each undeclared identifier is reported 
only once
src/Persistence/cPersistence.c:936: for each function it appears in.)
src/Persistence/cPersistence.c:937: warning: implicit declaration of 
function `PyType_Ready'
src/Persistence/cPersistence.c: At top level:
src/Persistence/cPersistence.c:232: warning: `persist_get_state' defined 
but not used
src/Persistence/cPersistence.c:270: warning: `persist_set_state' defined 
but not used
error: command 'gcc' failed with exit status 1
(END)

TIA,
beno





More information about the PEAK mailing list