You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build SmallBasic in Termux. I retrieve code using git, and then run autogen.sh. The problem comes when trying to configure (trying to do it without sdl, since Termux doesn't have SDL support without jumping through some hoops to set it up. Lol). I keep getting the following Syntax error:
Syntax error: "(" unexpected
I initially thought maybe an unmatched parenthesis, but when I look over the code, that's not the case. Any ideas on how to get passed this?
[22360 downloads]$ git clone https://github.com/smallbasic/SmallBASIC.git
Cloning into 'SmallBASIC'...
remote: Enumerating objects: 24199, done.
remote: Counting objects: 100% (2150/2150), done.
remote: Compressing objects: 100% (617/617), done.
remote: Total 24199 (delta 1312), reused 1910 (delta 1254), pack-reused 22049
Receiving objects: 100% (24199/24199), 14.47 MiB | 3.60 MiB/s, done.
Resolving deltas: 100% (15407/15407), done.
[22360 downloads]$ cd SmallBASIC/
[22360 SmallBASIC]$ chmod +x autogen.sh
[22360 SmallBASIC]$ sh autogen.sh
Submodule 'src/lib/jsmn' (https://github.com/zserge/jsmn.git) registered for path 'src/lib/jsmn'
Submodule 'src/lib/lodepng' (https://github.com/lvandeve/lodepng.git) registered for path 'src/lib/lodepng'
Submodule 'src/lib/miniaudio' (https://github.com/dr-soft/miniaudio.git) registered for path 'src/lib/miniaudio'
Submodule 'src/lib/stb' (https://github.com/nothings/stb.git) registered for path 'src/lib/stb'
Cloning into '/data/data/com.termux/files/home/downloads/SmallBASIC/src/lib/jsmn'... Cloning into '/data/data/com.termux/files/home/downloads/SmallBASIC/src/lib/lodepng'... Cloning into '/data/data/com.termux/files/home/downloads/SmallBASIC/src/lib/miniaudio'... Cloning into '/data/data/com.termux/files/home/downloads/SmallBASIC/src/lib/stb'...
Submodule path 'src/lib/jsmn': checked out '25647e692c7906b96ffd2b05ca54c097948e879c'
Submodule path 'src/lib/lodepng': checked out '997936fd2b45842031e4180d73d7880e381cf33f'
Submodule path 'src/lib/miniaudio': checked out 'c153a947919808419b0bf3f56b6f2ee606d6c5f4'
Submodule path 'src/lib/stb': checked out '8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55'
configure.ac:20: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:20: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:20: the top level
configure.ac:19: installing './compile'
configure.ac:13: installing './config.guess'
configure.ac:13: installing './config.sub'
configure.ac:14: installing './install-sh'
configure.ac:14: installing './missing'
Makefile.am: installing './INSTALL'
src/common/Makefile.am: installing './depcomp'
[22360 SmallBASIC]$ ./configure
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking target system type... armv7l-unknown-linux-gnueabi
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
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 the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes checking for stdint.h... yes
checking for strings.h... yes checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
checking for egrep... /data/data/com.termux/files/usr/bin/grep -E checking for ranlib... no
checking for pkg-config... /data/data/com.termux/files/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
./configure: 5807: Syntax error: "(" unexpected
The text was updated successfully, but these errors were encountered:
I'm trying to build SmallBasic in Termux. I retrieve code using git, and then run autogen.sh. The problem comes when trying to configure (trying to do it without sdl, since Termux doesn't have SDL support without jumping through some hoops to set it up. Lol). I keep getting the following Syntax error:
I initially thought maybe an unmatched parenthesis, but when I look over the code, that's not the case. Any ideas on how to get passed this?
The text was updated successfully, but these errors were encountered: