The problem was that the ubuntu image that i was using was armel architecture, but the sage distribution made by Julien was compiled in an armhf environment (a slightly different architecture). So there were not compatible.
My solution was to get an armhf rootfs from the ubuntu core site (http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/), and create a disk image with it to use. The procedure to do so would be the following (on a linux box, maybe you would need root privileges to mount the image): 1) create an empty file to build the image in. If you just wwant it to use sage, 3GB should be fine. If you want to install a complete ubuntu system, you will need more (i used 7GB): dd -if=/dev/zero of=ubuntu.img -bs=1G count=3 2) format the file mkfs.ext2 ubuntu.img 3)create a directory and mount the image there mkdir mount mount -o loop ubuntu.img mount 4) put the ubuntu core tarball in the directory and unpack it cd mount wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz tar xzf ubuntu-core-12.04.1-core-armhf.tar.gz 5) Unpack the sage install inside the directory 6) Unmount the directory cd .. umount mount And that's it, the file ubuntu.img is ready to be used as a chroot environment with a very minimal ubuntu system (not even graphical interface, just the very basic system tools), where sage should work just fine. I do have a 7gb image with a lightweight desktop, vnc server, and some applications installed (although for example qt apps don't render well, and firefox and chromium don't work either, so i have replaced them by some alternatives). I can try to upload it somewhere, if people is interested. On 7 dic, 23:46, jaebond <jacob.ae.b...@gmail.com> wrote: > mmarco, > > I had been working on this exact same issue a few months ago. Would you > mind explaining what you did to fix your issue? > > > > > > > > On Friday, December 7, 2012 7:55:55 AM UTC-5, mmarco wrote: > > > Nevermind, i found the problem: i had to use an armhf ubuntu. > > > On 7 dic, 13:15, mmarco <mma...@unizar.es> wrote: > > > I have tried your package in a chroot environment (actually in two, a > > > full ubuntu and a lubuntu), and it doesn't start in neither of them. > > > > Stranegly, the problem seems to be different: in the lubuntu case, it > > > just shows the message with the version and quits. In the full ubuntu, > > > it complains with the message "can't import module sage", but for > > > example, sage -python works fine -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.