mercoledì 29 ottobre 2008

Mono on OLPC (One Laptop Per Child) device update

Hi guys, A new official version of the XO Operating System is came out some days ago, the 767 build. Unfortunally the mono activities doesn't work on this environment. After some work to understanding the problem (because if I try to run it from Terminal activity using sugar-launch it came up) the bug is now fixed. The problem was related to the rainbow security model implemented on XO. This version of rainbow do not create the standard input and output file handles so the application hang-up. To fix it you need to modify the script that launch the activity to add a redirection from and to /dev/null. After this you have your activity ready to run again. Here you can see the wiki page on laptop.org with the script updated. Happy hacking

2 commenti:

daniel ha detto...

Dear TQuerci:

Thank you for making sugar-sharp and the example MonkeysMemory program. I'm trying to compile it on my OLPC but am having some trouble. I have installed mono with "yum install mono-core" but I can't unzip sugar-sharp:

[olpc@xo-10-F7-39 ~]$ bunzip2 sugar-sharp-0.2.tar.bz2
bunzip2: sugar-sharp-0.2.tar.bz2 is not a bzip2 file.

I can compile simple programs with mcs, but is it possible to compile a sugar-sharp program on the OLPC without gtk-sharp and gnome installed?

I'd like to build my own graphical C# program on my OLPC. Thank you for any pointers you may be able to offer.

Daniel

Anonimo ha detto...

I never heard about this operating system. Is it windows based or what? Joy