Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Enable ICU support
Forum Update on Monday, May 27th 2025

Enable ICU support

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
configurecross compileicu
4 Posts 2 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark81
    wrote on 7 Jun 2016, 18:31 last edited by
    #1

    I want to enable ICU support in order to compile QtWebKit for Raspbian Jessie.
    Here:

    https://wiki.qt.io/Building_Qt_5_from_Git

    there are the requirements for Qt WebKit:

    apt-get install flex bison gperf libicu-dev libxslt-dev ruby

    but the configure program doesn't find it:

    ICU .................... no
    which other packages are required?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Jun 2016, 21:44 last edited by
      #2

      Hi,

      Are you doing a native build or cross-compiling ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 8 Jun 2016, 05:47
      0
      • S SGaist
        7 Jun 2016, 21:44

        Hi,

        Are you doing a native build or cross-compiling ?

        M Offline
        M Offline
        Mark81
        wrote on 8 Jun 2016, 05:47 last edited by
        #3

        @SGaist cross-compiling on x64 Debian machine. I see the checking fails due to this error:

        checking for ICU... 
        /home/mark/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/home/mark/opt/sysroot -O2 -std=gnu++0x -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-rasp-pi-g++ -o icu.o icu.cpp
        /home/mark/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/home/mark/opt/sysroot/opt/vc/lib -Wl,-rpath-link,/home/mark/opt/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/mark/opt/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/mark/opt/sysroot -Wl,-O1 -o icu icu.o   --sysroot=/home/mark/opt/sysroot -licui18n -licuuc -licudata
        /home/mark/opt/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
        collect2: error: ld returned 1 exit status
        

        I have also installed:

        • g++-4.9-multilib
        • g++-multilib
        • gcc-4.9-multilib
        • gcc-multilib
        • lib32stdc++-4.8-dev
        • lib32stdc++-4.9-dev
        • lib32stdc++-6
        M 1 Reply Last reply 8 Jun 2016, 06:13
        0
        • M Mark81
          8 Jun 2016, 05:47

          @SGaist cross-compiling on x64 Debian machine. I see the checking fails due to this error:

          checking for ICU... 
          /home/mark/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/home/mark/opt/sysroot -O2 -std=gnu++0x -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-rasp-pi-g++ -o icu.o icu.cpp
          /home/mark/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/home/mark/opt/sysroot/opt/vc/lib -Wl,-rpath-link,/home/mark/opt/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/mark/opt/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/mark/opt/sysroot -Wl,-O1 -o icu icu.o   --sysroot=/home/mark/opt/sysroot -licui18n -licuuc -licudata
          /home/mark/opt/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
          collect2: error: ld returned 1 exit status
          

          I have also installed:

          • g++-4.9-multilib
          • g++-multilib
          • gcc-4.9-multilib
          • gcc-multilib
          • lib32stdc++-4.8-dev
          • lib32stdc++-4.9-dev
          • lib32stdc++-6
          M Offline
          M Offline
          Mark81
          wrote on 8 Jun 2016, 06:13 last edited by
          #4

          @Mark81 it's a compiler issue: https://github.com/raspberrypi/tools/issues/41

          1 Reply Last reply
          0

          2/4

          7 Jun 2016, 21:44

          • Login

          • Login or register to search.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved