[Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Martin Langhoff
We just had some fun debugging of oatslite on CentOS 6.2 x86_64. A
quick note of warning in case someone else is mad or foolish enough to
try it too :-)

The short version of it is: bitfrost is currently broken on 64 bits.

This is what an XS based on CentOS x86_64 needs to run oatslite:

 - latest bitfrost.i686 (from an XO repo)
 - python.i686
 - an extracted python2.6 binary from python.i686 -- I used
rpmdev-extract and installed the binary as /usr/bin/python2.6-i686

Using python2.6-i686, oatslite now signs the messages correctly.

The root cause seems to be a problem in the Pyrex bindings to
libtomcrypt / TomsFastMath. Maybe ctypes would be better here.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Reuben K. Caron
Does this effect xs-activation installed on XS 0.7?

On Mar 27, 2012, at 12:32 PM, Martin Langhoff wrote:

> We just had some fun debugging of oatslite on CentOS 6.2 x86_64. A
> quick note of warning in case someone else is mad or foolish enough to
> try it too :-)
> 
> The short version of it is: bitfrost is currently broken on 64 bits.
> 
> This is what an XS based on CentOS x86_64 needs to run oatslite:
> 
>  - latest bitfrost.i686 (from an XO repo)
>  - python.i686
>  - an extracted python2.6 binary from python.i686 -- I used
> rpmdev-extract and installed the binary as /usr/bin/python2.6-i686
> 
> Using python2.6-i686, oatslite now signs the messages correctly.
> 
> The root cause seems to be a problem in the Pyrex bindings to
> libtomcrypt / TomsFastMath. Maybe ctypes would be better here.
> 
> cheers,
> 
> 
> 
> m
> -- 
>  martin.langh...@gmail.com
>  mar...@laptop.org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Daniel Drake
On Tue, Mar 27, 2012 at 10:34 AM, Reuben K. Caron  wrote:
> Does this effect xs-activation installed on XS 0.7?

XS-0.7 is 32-bits only.

Daniel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Martin Langhoff
On Tue, Mar 27, 2012 at 12:35 PM, Daniel Drake  wrote:
> On Tue, Mar 27, 2012 at 10:34 AM, Reuben K. Caron  wrote:
>> Does this effect xs-activation installed on XS 0.7?
>
> XS-0.7 is 32-bits only.

Yeah, and there be dragons in the 64 bit path, confirmed. I got the burn scars.



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel