tinyscheme icon indicating copy to clipboard operation
tinyscheme copied to clipboard

Building and installing the TinyScheme shared library on Termux

Open noncom opened this issue 8 years ago • 0 comments

Following the TinyScheme shared library build instructions under Termux you find that it fails to find sed, grep on the ./configure step and /bin/sh on the make step.

The remedy is to create symlinks for sed and grep and to modify the CONFIG_SHELL variable.

On my Termux system it looked like:

ln -s /data/data/com.termux/files/usr/bin/applets/sed /data/data/com.termux/files/usr/bin/sed
ln -s /data/data/com.termux/files/usr/bin/applets/grep /data/data/com.termux/files/usr/bin/grep
export CONFIG_SHELL=$PREFIX/bin/sh

where the actual locations of sed and grep were found with which sed and which grep

Also, installation of the proot package under Termux is required in order to perform make install since it requires access to /usr. After installing proot, run termux-chroot and then the aforementioned make install.

noncom avatar May 29 '17 12:05 noncom