Compiling tinc for android.

Perry Couprie perry at couprie.net
Fri Feb 3 11:45:12 CET 2017


When i run configure i get the following output:

$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... 
/data/data/com.termux/files/usr/bin/applets/grep
checking for egrep... /data/data/com.termux/files/usr/bin/applets/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... 
/data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
*./configure: 1: eval: /bin/sh: not found**
**configure: WARNING: 'missing' script is too old or missing*
checking for a thread-safe mkdir -p... 
/data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for style of include used by make... GNU
checking whether make supports nested variables... no
checking dependency style of gcc... none
checking whether make supports nested variables... (cached) no
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
configure: error: cannot run /bin/sh ./config.sub

On 02/03/2017 12:58 AM, Perry Couprie wrote:
> I am trying to compile tinc on a android tablet.
>
> When i do ./configure it does not run because the shell in not /bin/sh 
> but /data/data/com.termux/files/usr/bin/sh.
>
> $ which sh
> /data/data/com.termux/files/usr/bin/sh
>
> What do i have to change to make this part of the compile work ?
>
> Greetings from Amsterdam,
>
> Perry
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170203/f20258a5/attachment.html>


More information about the tinc mailing list