[Zope] lipo error in comiling zope 2.9.4 on Mac OS X 10.4.7

cristopher pierson ewing cewing at u.washington.edu
Thu Sep 14 14:16:52 EDT 2006


Hi,

using Python 2.4.3 installed via package on a Mac G4 with OS X 10.4.7. 
I'm trying to compile zope 2.9.4 and getting the following error trace in 
the terminal window:

AccessControl/cAccessControl.c:629: error: initializer element is not 
constant
AccessControl/cAccessControl.c:629: error: (near initialization for 
'imPermissionRoleType.tp_setattro')
AccessControl/cAccessControl.c:2215: error: initializer element is not 
constant
AccessControl/cAccessControl.c:2215: error: (near initialization for 
'dtml_methods[1].ml_name')
AccessControl/cAccessControl.c:2215: error: initializer element is not 
constant
AccessControl/cAccessControl.c:2215: error: (near initialization for 
'dtml_methods[1].ml_meth')
AccessControl/cAccessControl.c:2215: error: initializer element is not 
constant
AccessControl/cAccessControl.c:2215: error: (near initialization for 
'dtml_methods[1]')
AccessControl/cAccessControl.c: In function 'initcAccessControl':
AccessControl/cAccessControl.c:2229: error: initializer element is not 
constant
AccessControl/cAccessControl.c:2229: error: (near initialization for 
'RestrictedDTMLMixinType.ob_type')
lipo: can't figure out the architecture type of: /var/tmp//ccLGX4ik.out
error: command 'gcc' failed with exit status 255
make: *** [build] Error 1


There's a bunch more of the same AccessContral/cAccessControl.c: error 
messages above those I copied here, but they didn't seem to germane to the 
problem.

Any ideas what throws this error?  Is this possibly a problem with a gcc 
for the g4 architecture vs. one for the new i386 architecture?

Any suggestions most welcome!

Cris

********************************
Cris Ewing
CME and Telehealth Web Services
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413
E-mail: cewing at u.washington.edu
*******************************



More information about the Zope mailing list