Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Christopher Warner
On Fri, Jul 30, 2010 at 4:16 PM, Hanno Schlichting wrote:

> On Fri, Jul 30, 2010 at 10:08 PM, Christopher Warner
>  wrote:
> > Unfortunately in the above specific case I'm building against a
> standalone
> > Plone instance which ships only with a static lib version of Python 2.6.
> So
> > this doesn't work. This became an issue with Plone 4.0b5 as this is the
> > first version to include Zope 2.12.7 egg. The 2.12.6 egg has the correct
> > arch.
> > The only remedy I can readily see is that however cAccessControl.so is
> built
> > needs to be built specifically for the i386 arch and stuffed into the
> egg.
>
> Where are you getting a Zope2 egg from? We only publish a Zope2 source
> release, which you will need to compile yourself for *nix platforms.
> We only provide binary eggs for Windows, which come in both a 32bit
> and 64bit flavor.
>
> I'm guessing you are hitting a problem in the Plone unified installer.
> The correct place to report that is at http://dev.plone.org/plone/.
>
> Hanno
>

Ok thank you sir.

-- 
Christopher Warner
http://cwarner.kernelcode.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Hanno Schlichting
On Fri, Jul 30, 2010 at 10:08 PM, Christopher Warner
 wrote:
> Unfortunately in the above specific case I'm building against a standalone
> Plone instance which ships only with a static lib version of Python 2.6. So
> this doesn't work. This became an issue with Plone 4.0b5 as this is the
> first version to include Zope 2.12.7 egg. The 2.12.6 egg has the correct
> arch.
> The only remedy I can readily see is that however cAccessControl.so is built
> needs to be built specifically for the i386 arch and stuffed into the egg.

Where are you getting a Zope2 egg from? We only publish a Zope2 source
release, which you will need to compile yourself for *nix platforms.
We only provide binary eggs for Windows, which come in both a 32bit
and 64bit flavor.

I'm guessing you are hitting a problem in the Plone unified installer.
The correct place to report that is at http://dev.plone.org/plone/.

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Christopher Warner
This is probably an issue with 2.12.7 to 2.12.10 as current. I haven't
tested beyond 2.12.7 however.

The AccessControl module; specifically the shared lib cAccessControl.so as
built on an osx arch x86_64 is incorrect as the runtime expects i386. In
most cases a knowledgable user will able to rebuild this library with
something like:

gcc -dynamic -bundle -arch i386
> -I/Applications/Plone4/Python-2.6/include/python2.6
> -I/Applications/Plone4/buildout-cache/eggs/ExtensionClass-2.13.1-py2.6-macosx-10.4-i386.egg/
> -I/Applications/Plone4/buildout-cache/eggs/Acquisition-2.13.3-py2.6-macosx-10.4-i386.egg/
> /Applications/Plone4/Python-2.6/lib/libpython2.6.a
> /usr/lib/libpython2.6.dylib -L/Applications/Plone4/Python-2.6/lib/
> cAccessControl.c -o cAccessControl.so


Unfortunately in the above specific case I'm building against a standalone
Plone instance which ships only with a static lib version of Python 2.6. So
this doesn't work. This became an issue with Plone 4.0b5 as this is the
first version to include Zope 2.12.7 egg. The 2.12.6 egg has the correct
arch.

The only remedy I can readily see is that however cAccessControl.so is built
needs to be built specifically for the i386 arch and stuffed into the egg.
-- 
Christopher Warner
http://cwarner.kernelcode.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )