BuildErrors

From GnokiiWiki

Jump to: navigation, search
  • Problem: Make throws:
    ../common/.libs/libgnokii.so: undefined reference to `usb_close'
    collect2: ld returned 1 exit status
    Solution: You're missing libusb-devel
  • Problem: Make throws:
    ../common/.libs/libgnokii.so: undefined reference to `str2ba'
    collect2: ld returned 1 exit status
    Solution: You're missing bluez-libs-devel
  • Problem: Configure throws:
    ./configure: line 19119: syntax error near unexpected token `no-libtool'
    ./configure: line 19119: `AM_GNU_GETTEXT(no-libtool)'
    error: Bad exit status from /var/tmp/rpm-tmp.82964 (%build)
    Solution: Make sure you have gettext-devel, re-run autogen.sh
  • Problem: autogen.sh throws:
    libtoolize: command not found
    Solution: Install packages autoconf, automake and libtool, re-run autogen.sh
  • Problem: Configure throws:
    configure: error: C++ preprocessor "cpp" fails sanity check
    Solution: Install package gcc-c++, re-run configure
  • Problem: autogen.sh throws:
    ./autogen.sh: line 5: intltoolize: command not found
    Solution: Install packages intltool, re-run autogen.sh
  • Problem: configure throws:
    ./configure: line 4051: `IT_PROG_INTLTOOL(0.35.0)'
    Solution: Package intltool is too old, upgrade to newer
  • Problem: autogen.sh throws:
    /opt/gnome/bin/glib-gettextize: command not found
    Solution: Install packages glib2-devel, re-run autogen.sh
    Solution 2: On some distros (especially when you're not running Gnome) glib-gettextize is at /usr/bin/, create a symbolic link to compensate the problem
Personal tools