[Zope] Re: lipo error in comiling zope 2.9.4 on Mac OS X 10.4.7
cristopher pierson ewing
cewing at u.washington.edu
Mon Sep 18 14:10:26 EDT 2006
Interestingly, I tried the compilation again, using a python compiled from
source and it worked just fine. So, I've got zope 2.9.4 running on OS X
10.4.7 with python 2.4.3, given that the pyton is compiled in-place.
Perhaps there is an issue with the binary mpackage of python 2.4.3?
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
*******************************
On Thu, 14 Sep 2006, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> cristopher pierson ewing wrote:
>> 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!
>
> Somebody is defining NULL as a non-constant? That is pretty weird, to
> say the least.
>
> Line 629:
> NULL, /* tp_setattro */
>
> Lines 2213-6:
> static struct PyMethodDef dtml_methods[] = {
> {"guarded_getattr", (PyCFunction)dtml_guarded_getattr,
> METH_VARARGS|METH_KEYWORDS, "" },
> {NULL, NULL}
> };
>
> Line 2229 invokes the PURE_MIXIN_CLASS macro (defined in
> ExtensionClass/ExtensionClass.h).
>
>
>
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 202-558-7113 tseaver at palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFCcev+gerLs4ltQ4RAvGzAJ4ybmehgrPTbBuIjXn0jZet+Dyl7ACfX/8N
> t61o8jfZGVOpf4ujXpnSwCE=
> =8+VM
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list