<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>When i run configure i get the following output:</p>
<p>$ ./configure <br>
checking for gcc... gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables... <br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking whether gcc understands -c and -o together... yes<br>
checking how to run the C preprocessor... gcc -E<br>
checking for grep that handles long lines and -e...
/data/data/com.termux/files/usr/bin/applets/grep<br>
checking for egrep...
/data/data/com.termux/files/usr/bin/applets/grep -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking minix/config.h usability... no<br>
checking minix/config.h presence... no<br>
checking for minix/config.h... no<br>
checking whether it is safe to define __EXTENSIONS__... yes<br>
checking for a BSD-compatible install...
/data/data/com.termux/files/usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
<b>./configure: 1: eval: /bin/sh: not found</b><b><br>
</b><b>configure: WARNING: 'missing' script is too old or missing</b><br>
checking for a thread-safe mkdir -p...
/data/data/com.termux/files/usr/bin/mkdir -p<br>
checking for gawk... no<br>
checking for mawk... no<br>
checking for nawk... no<br>
checking for awk... awk<br>
checking whether make sets $(MAKE)... no<br>
checking for style of include used by make... GNU<br>
checking whether make supports nested variables... no<br>
checking dependency style of gcc... none<br>
checking whether make supports nested variables... (cached) no<br>
checking for gcc option to accept ISO C99... none needed<br>
checking how to run the C preprocessor... gcc -E<br>
checking whether ln -s works... yes<br>
configure: error: cannot run /bin/sh ./config.sub<br>
<br>
</p>
<div class="moz-cite-prefix">On 02/03/2017 12:58 AM, Perry Couprie
wrote:<br>
</div>
<blockquote
cite="mid:b2eccd60-5dc8-c8ad-d7ca-4dee7dde3da9@couprie.net"
type="cite">I am trying to compile tinc on a android tablet.
<br>
<br>
When i do ./configure it does not run because the shell in not
/bin/sh but /data/data/com.termux/files/usr/bin/sh.
<br>
<br>
$ which sh
<br>
/data/data/com.termux/files/usr/bin/sh
<br>
<br>
What do i have to change to make this part of the compile work ?
<br>
<br>
Greetings from Amsterdam,
<br>
<br>
Perry
<br>
<br>
_______________________________________________
<br>
tinc mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a>
<br>
</blockquote>
<br>
</body>
</html>