<div dir="auto">With Alexander's help, I got Chicken Scheme working on my tablet. Many thanks to all who helped.</div><div class="gmail_extra"><br><div class="gmail_quote">On May 9, 2017 1:26 PM, "Phil Bewig" <<a href="mailto:pbewig@gmail.com">pbewig@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks to all!<div><br></div><div>Abdelhakim: That script mentions ndk, which makes it look to me like a cross-compiler for building apk applications from a Linux host. I want to compile on the tablet itself, and call the program from the Termux command line.</div><div><br></div><div>Bradley: Sorry to hear that. But I'm not actually compiling on Android, I'm trying to compile on Termux, which is a Unix-like (not Android-like) environment.</div><div><br></div><div>Vincent: I'm not in any way wedded to Termux. I'll take a look at GNURoot.</div><div><br></div><div>Alexander: Sounds great! I'll look forward to hearing from you again this evening.</div><div><br></div><div>Again: Thanks to all!</div><div><br></div><div>Phil</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 8, 2017 at 10:32 PM, Alexander Shendi (<a href="http://web.de" target="_blank">web.de</a>) <span dir="ltr"><<a href="mailto:Alexander.Shendi@web.de" target="_blank">Alexander.Shendi@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Phil, dear list, <br>
<br>
In the past I have successfully built Gambit 4.8.5 for Android /Termux. <br>
<br>
You have to say  ($PREFIX is predefined by Termux) :<br>
<br>
CONFIG_SHELL=$PREFIX/bin/sh  . /configure    ... <br>
<br>
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. <br>
<br>
Good luck and best regards, <br>
<br>
Alexander <br><div><div class="m_1216102211102416753m_-8170630205326531371h5"><br><div class="gmail_quote">Am 9. Mai 2017 03:28:59 MESZ schrieb Phil Bewig <<a href="mailto:pbewig@gmail.com" target="_blank">pbewig@gmail.com</a>>:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div><div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>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 the Termux program from the Google Play Store, which provides a unix-like command-line environment with BusyBox and a host of programs including gcc. Termux is rather non-standard in its directory structure, with the root of the system at /data/data/com.termux/files (call that directory TERMUX) and 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.<br><br></span></span></div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>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 supply? What problems should I expect? Has anybody successfully compiled Gambit Scheme in this environment? I've never compiled Gambit Scheme before, and I'm not an accomplished C programmer, so please keep things simple.<br><br></span></span></div><div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>Here's an example of the kind of problems I expect. I downloaded Gambit 4.7 and did tar -zxvf. The I ran ./configure, but had an error because /bin/sh 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".<br><br></span></span></div><div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>I expect some pain. . . .<br></span></span></div><div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span><br></span></span></div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>Many thanks,<br><br></span></span></div><span class="m_1216102211102416753m_-8170630205326531371m_1757405165180618101gmail-gI"><span>Phil<br></span></span></div>
</blockquote></div><br></div></div><span class="m_1216102211102416753m_-8170630205326531371HOEnZb"><font color="#888888">
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</font></span></div></blockquote></div><br></div></div></div>
</blockquote></div></div>