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
Heb een copy gemaakt van de code voor de Android tabled. De proof of concept license code werkt nu al, zie onderstaande tekst. Weer een stap verder naar een mogelijke provisioning app ;-) Perry $ ./provcl.exe --action=license -vvvvv Opened database successfully SQL error: table GLOBALS already exists Checking license : :-) # # Display license from config: # hostid : 9a0fa5800e829b6f77fac7340e33af34 provisioning url : https://ps01.couprie.net/ provisioning key : d7UYC+pPnaYTg5EGYcR04GyI2tWdG/bEhnZoFj3svN51stWWt58DPVo0TfLTUawxO2uB/6iJYJse89a7tdo3cTg4PJ+utAjWv3XK+8XSbNZncznnznBgBDlxYDpecDUX6gQF4n1iju5Z6BJbmKDphFw1fyxUtvhHXc7Dt4GkE1V0D8NxZffFGfq5D04egKb+LafeH36EmLxERIZ1tcNOp8mXZOvn7C/SyQVg0ec4QJ1zIPR2pARI9uYF03Gu92hpnsP0P2IZpjZEwrpWB+DFHbG8C92MZlC9eSCMXXGzvYZYEaODJfRRw13yDNCY7+wVnvhfAANc/GkgxyeAQxFfSQ= license url https://ps01.couprie.net/ Logging license_check: trying Logging license_check: OK # # Write license data to local config files: # license key : d7UYC+pPnaYTg5EGYcR04GyI2tWdG/bEhnZoFj3svN51stWWt58DPVo0TfLTUawxO2uB/6iJYJse89a7tdo3cTg4PJ+utAjWv3XK+8XSbNZncznnznBgBDlxYDpecDUX6gQF4n1iju5Z6BJbmKDphFw1fyxUtvhHXc7Dt4GkE1V0D8NxZffFGfq5D04egKb+LafeH36EmLxERIZ1tcNOp8mXZOvn7C/SyQVg0ec4QJ1zIPR2pARI9uYF03Gu92hpnsP0P2IZpjZEwrpWB+DFHbG8C92MZlC9eSCMXXGzvYZYEaODJfRRw13yDNCY7+wVnvhfAANc/GkgxyeAQxFfSQ=license hostid : 9a0fa5800e829b6f77fac7340e33af34 license url : https://ps01.couprie.net/ $ 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 >
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>