[GAP Forum] GAP on Android

Matan Ziv-Av matan at svgalib.org
Wed Sep 12 07:14:15 BST 2012


On Tue, 11 Sep 2012, William DeMeo wrote:

> Dear Marek,
>
> I for one would be interested in knowing how you accomplished this.
> Perhaps you would be willing to put together a short webpage with some
> instructions? ...and maybe this page could be linked to the
> www.gap-system.org page?

This is still very experimental but the script worked (with some tweaks) 
on Samsung Galaxy SII and note, Lenovo tablet and a Sony Ericson, but 
apparently there are quite a few differences between android systems 
that make the installation process not so simple. Perhaps it is better 
to wait with a more "permanent" announcement until a few quirks are 
worked out.

The current instructions for installing without root and without 
using a huge amount of space on the /data partition are:

As a terminal on android you have to use "terminal ide". Note that when 
first running, you must select the option "install system" in the main 
menu.
https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside

* Download and untar to the /mnt/sdcard directory the file
   http://my.svgalib.org/android/gap4r5-1.tar.gz

This file contains GAP system with a few packages missing, and binaries 
compiled for arm, linked statically. The fastest way is probably 
connecting the device to a PC using USB mass storage mode and using the 
PC to open the file. You can easily tweak the amount of space needed by 
removing packages you don't need. You can also easily add packages that 
do not require compiling.

* Download the file and save it under /mnt/sdcard
   http://my.svgalib.org/android/copylink

* Open a terminal ide and run the commands:
   cp /mnt/sdcard/copylink .
   chmod a+rx ./copylink
   ./copylink

If the last command gives one line of error implying the script did not 
run, try
   . ./copylink
instead.
If it gives a lot of error messages it means the script runs and the 
errors may be ignored.

Now gap shoud be runnable as
   ./gap4r5/gap.sh

If the instruction work for you, I'll be happy to get a report.

If they fail, and you have enough expereince with Linux (or Unix), you 
can probably fix it yourself, I'll be very happy to get a report on what 
fixes were needed.

If the instruction fail and you don't have Linux experience, but have a 
lot of patience, please report to me, and I can help you to try to get 
it to work on your system.




-- 
Matan.




More information about the Forum mailing list