From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.


Enable ICU support



  • 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?


  • Lifetime Qt Champion

    Hi,

    Are you doing a native build or cross-compiling ?



  • @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