<div dir="ltr">I had never heard of GnuRoot before this thread, and I was already annoyed at the non-standard paths in Termux, so I decided to look at GnuRoot.<div><br></div><div>I downloaded GnuRoot at lunch yesterday, then discovered I needed GnuRoot Wheezy as well, then when I ran that it told me those two options were obsolete and I needed GnuRoot Debian, so I uninstalled the other two and downloaded that. Looked fine. I then did 'apt-get update' and got an error message. It turns out that my employer blocks the Debian sites, for some reason.</div><div><br></div><div>So yesterday evening I did 'apt-get update' and 'apt-get upgrade'; that took a while. Then I tried to wget the Gambit tgz file, but discovered neither wget nor curl is automatic with GnuRoot Debian, so I fetched both.</div><div><br></div><div>Then I downloaded Gambit, untarred, and did './configure'. But configure wasn't executable, so it didn't work. I said 'chmod 777 configure' but the execute bit still wasn't set. Searching Google I discovered that error occurs because the sd card is mounted noexec, but I don't have an sdcard, so I'm baffled.</div><div><br></div><div>Anyway, I did 'sh configure' and got an error message that gcc isn't installed. What kind of Debian is this? So I fetched gcc and did 'sh configure' again. I got another error message, I forget what.</div><div><br></div><div>So I gave up and went to bed.</div><div><br></div><div>I'll keep dealing with this over the next few days, and let you know when I make some progress.</div><div><br></div><div>Thanks to everyone who offered advice.</div><div><br></div><div>Phil</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 4:42 PM,  <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">Dear Phil,<br>
<br>
so I dug out my Nexus 9 tablet and tried to recompile gambit 4.8.5.<br>
<br>
The procedure is a little more involved than I had remembered. I used the following commands<br>
to compile gambit:<br>
<br>
termux-fix-shebang configure gsc-boot.unix install-sh relpath mkidirs<br>
TMPDIR=$HOME/tmp CONFIG_SHELL=$PREFIX/bin/sh CC=clang LIBS=-llog ./configure --prefix=$HOME/gambit-tmp<br>
make<br>
make install<br>
<br>
Comments:<br>
<br>
1.) You must update the shebang path in 5 files, not 2 as I had<br>
    previously written. You can use the termux-fix-shebang utility to do this<br>
    (as shown above).<br>
2.) TMPDIR=$HOME/tmp is necessary as /tmp is not writeable for Termux apps.<br>
3.) Recently Termux has switched to clang instead of gcc. Unfortunately on my<br>
    tablet clang runs out of memory compiling gambit. I did not have this problem<br>
    with gcc.<br>
<br>
Nevertheless I hope this helps. Maybe clang is a little less memory hungry on your 32bit<br>
(ARM7) machine. If all fails, the GNUroot option may prove better for you. There you<br>
can simply "./configure; make; make install".<br>
<br>
I wish you good luck. Do not hesitate to contact me, if I can be of further help.<br>
<br>
Best regards,<br>
<br>
Alexander<br>
<br>
</blockquote></div><br></div>