xwiimote / xwiimote-bindings

Language bindings for the xwiimote package
Other
24 stars 10 forks source link

Binding will not configuring / compiling #19

Closed sorenoneill closed 2 years ago

sorenoneill commented 2 years ago

On linux mint (Ubuntu 20.04 based) (gcc version 9.3.0 | python version 3.8.10)

xwiimote, libxwiimote-dev and libxwiimote2 are installed from apt repo's xwiishow works : I can connect to and read output from my wii balance board

compiling bindings (intended for python) fails at configure stage:

./configure fails with and without --prefix=/usr

$ sudo ./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... /usr/bin/grep checking for egrep... /usr/bin/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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for gcc option to accept ISO C99... none needed checking whether ln -s works... yes checking for ar... ar checking the archiver (ar) interface... ar ./configure: line 5509: syntax error near unexpected token 2.2' ./configure: line 5509:LT_PREREQ(2.2)'