[gambit-list] Compiling Gambit on Android/Termux

Alexander Shendi (web.de) Alexander.Shendi at web.de
Mon May 8 23:32:39 EDT 2017

Hi Phil, dear list, 

In the past I have successfully built Gambit 4.8.5 for Android /Termux. 

You have to say  ($PREFIX is predefined by Termux) :

CONFIG_SHELL=$PREFIX/bin/sh  . /configure    ... 

IIRC. Also you have to fix the shebang path in 2 more scripts for installation to work. I am currently on my way to work, but can look them up in the evening. 

Good luck and best regards, 


Am 9. Mai 2017 03:28:59 MESZ schrieb Phil Bewig <pbewig at gmail.com>:
>I recently purchased an Android tablet, a Lenovo TAB2 A10; it uses a
>Qualcomm Snapdragon 210 ARM7 32-bit processor with 2GB RAM. I installed
>Termux program from the Google Play Store, which provides a unix-like
>command-line environment with BusyBox and a host of programs including
>Termux is rather non-standard in its directory structure, with the root
>the system at /data/data/com.termux/files (call that directory TERMUX)
>high-level subdirectories $TERMUX/home for the default user u0_a111 and
>$TERMUX/usr where you will find bin, etc, include, lib, libexec, share,
>src, tmp and var. All of the normal unix executables are in
>$TERMUX/usr/bin, even those that normally reside in /bin.
>I would like to have a Scheme REPL on my tablet. Can Gambit Scheme be
>compiled on my machine? What configuration options will I need to
>What problems should I expect? Has anybody successfully compiled Gambit
>Scheme in this environment? I've never compiled Gambit Scheme before,
>I'm not an accomplished C programmer, so please keep things simple.
>Here's an example of the kind of problems I expect. I downloaded Gambit
>and did tar -zxvf. The I ran ./configure, but had an error because
>isn't in /bin/sh. I edited the shebang line on ./configure and ran it
>again, and got an error "cannot run /bin/sh ./config.sub".
>I expect some pain. . . .
>Many thanks,

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20170509/b6ad9e32/attachment.htm>

More information about the Gambit-list mailing list