Forum #1 - Topic #50 - Message List

problem running ./configure in trunk

This is happening on an up-to-date Ubuntu Feisty system (and yes, libgtk2.0-dev and libgtk2.0-0 packages are installed):

user@host:~/cwiid/trunkSvn$ autoconf
user@host:~/cwiid/trunkSvn$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for gawk... gawk
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for python... python
checking for pthread_create in -lpthread... yes
checking for hci_devid in -lbluetooth... yes
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 for stdint.h... (cached) yes
checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... yes
checking for bluetooth/bluetooth.h... yes
checking for bluetooth/l2cap.h... yes
checking for bluetooth/hci.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for linux/uinput.h... yes
checking for library containing strerror... none required
./configure: line 4546: syntax error near unexpected token `GTK,'
./configure: line 4546: `PKG_CHECK_MODULES(GTK, $pkg_modules)'
  • Message #24308

    I had the same problem, but by searching this forum i found that the following libs/packages where needed:

    autoconf
    autogen
    automake
    bluetooth
    libbluetooth2-dev
    libgtk2.0-dev
    pkg-config
    python2.5-dev

    After installing them you should run "autoreconf", not "autoconf".

    (The one i had missed was pkg-config.)

    • Message #24409

      thanks very much : it works making the patch for the wii balance board (see ticket #63) : the wiimote gui can connect the board and the connection button of the board is seen as the A button of the wiimote but the the wheighdemo.py and scalegui.py are giving Mutex destroy error (rpt) and Mutex destroy error (rw) probably python library is missing in my case (as python-pygame ...).