Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.9rc sources configure error
QtWS25 Last Chance

Qt 5.9rc sources configure error

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 4.4k 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.
  • T Offline
    T Offline
    Trino
    wrote on last edited by
    #1

    Hello all,

    I get a configure error when trying to compile the Qt 5.9rc sources.
    I downloaded the source here:
    http://download.qt.io/development_releases/qt/5.9/5.9.0-rc/single/

    My systems runs openSuse Leap 42.2.

    Here are the configure options I used:

    ./configure -release -opensource -confirm-license -c++std c++11 -static -accessibility -fontconfig -skip qtdeclarative -skip qtconnectivity -skip qtmultimedia -no-qml-debug -qt-zlib -no-mtdev -no-journald -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -no-openssl -no-libproxy -no-glib -nomake examples -nomake tests -no-compile-examples -cups -no-evdev -no-dbus -no-eglfs -qreal double -no-opengl -skip qtlocation -skip qtsensors -skip qtwayland -skip qtgamepad -skip qtserialbus

    This is the output:

    Running configuration tests...
    Checking for gold linker... no
    Checking for machine tuple... yes
    Checking for valid makespec... yes
    Checking for alloca() in alloca.h... yes
    Checking for target architecture... x86_64
    Checking for SSE2 instructions... yes
    Checking for SSE3 instructions... yes
    Checking for SSSE3 instructions... yes
    Checking for SSE4.1 instructions... yes
    Checking for SSE4.2 instructions... yes
    Checking for AVX instructions... yes
    Checking for AVX2 instructions... yes
    Checking for AVX512 F instructions... no
    Checking for new dtags support... yes
    Checking for F16C instructions... yes
    Checking for pkg-config... yes
    Checking for D-Bus >= 1.2 (host)... yes
    Checking for udev... no
    Checking for mremap()... yes
    Checking for POSIX fallocate()... yes
    Checking for precompiled header support... yes
    Checking for symbol visibility support... yes
    Checking for -Bsymbolic-functions support... yes
    Checking for STL compatibility... yes
    Checking for clock_gettime()... yes
    Checking for POSIX monotonic clock... yes
    Checking for dlopen()... yes
    Checking for eventfd... yes
    Checking for POSIX iconv... yes
    Checking for ICU... yes
    Checking for inotify... yes
    Checking for SysV IPC... yes
    Checking for 64 bit atomics... yes
    Checking for ppoll()... yes
    Checking for slog2... no
    Checking for DoubleConversion... no
    Checking for PCRE2... no
    Checking for O_CLOEXEC... yes
    Checking for working std::atomic for function pointers... yes
    Checking for getaddrinfo()... yes
    Checking for getifaddrs()... yes
    Checking for IPv6 ifname... yes
    Checking for DB2 (IBM)... no
    Checking for InterBase... no
    Checking for MySQL... no
    Checking for OCI (Oracle)... no
    Checking for ODBC... no
    Checking for PostgreSQL... no
    Checking for SQLite (version 2)... no
    Checking for TDS (Sybase)... no
    Checking for XCB >= 1.5 (core)... yes
    Checking for OpenVG... no
    Checking for GBM... no
    Checking for KMS... yes
    Checking for LinuxFB... yes
    Checking for default QPA platform... xcb
    Checking for XCB (extensions)... no
    Checking for tslib... no
    Checking for X11 prefix... /usr
    Checking for XCB GLX... yes
    Checking for X11 session management... yes
    Checking for XLib... yes
    Checking for XCB Xlib... yes
    Checking for Xinput2... yes
    Checking for xkbcommon-x11 >= 0.4.1... no
    Checking for XKB config root... /usr/share/X11/xkb
    Checking for xkbcommon... no
    Checking for CUPS... yes
    Done running configuration tests.

    Configure summary:

    Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 enable_new_dtags f16c largefile precompile_header release c++11 concurrent mremap no-qml-debug reduce_exports reduce_relocations static stl
    Build options:
    Mode ................................... release
    Optimize release build for size ........ no
    Building shared libraries .............. no
    Using C++ standard ..................... C++11
    Using gold linker ...................... no
    Using new DTAGS ........................ yes
    Using precompiled headers .............. yes
    Using LTCG ............................. no
    Target compiler supports:
    SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    AVX .................................. AVX AVX2 F16C
    AVX512 ............................... <none>
    Build parts ............................ libs tools
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... no
    Qt D-Bus directly linked to libdbus .... no
    Qt Gui ................................. yes
    Qt Network ............................. yes
    Qt Sql ................................. yes
    Qt Testlib ............................. yes
    Qt Widgets ............................. yes
    Qt Xml ................................. yes
    Support enabled for:
    Using pkg-config ....................... yes
    QML debugging .......................... no
    udev ................................... no
    Using system zlib ...................... no
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
    GLib ................................... no
    iconv .................................. no
    ICU .................................... yes
    Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
    Using system PCRE2 ..................... no
    Qt Network:
    getaddrinfo() .......................... yes
    getifaddrs() ........................... yes
    IPv6 ifname ............................ yes
    libproxy ............................... no
    OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Sql:
    DB2 (IBM) .............................. no
    InterBase .............................. no
    MySql .................................. no
    OCI (Oracle) ........................... no
    ODBC ................................... no
    PostgreSQL ............................. no
    SQLite2 ................................ no
    SQLite ................................. yes
    Using system provided SQLite ......... no
    TDS (Sybase) ........................... no
    Qt Gui:
    Accessibility .......................... yes
    FreeType ............................... yes
    Using system FreeType ................ no
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. no
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... no
    PNG .................................. yes
    Using system libpng ................ no
    EGL .................................... no
    OpenVG ................................. no
    OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. no
    libinput ............................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon-evdev ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    VNC .................................... yes
    Mir client ............................. no
    X11:
    Using system-provided XCB libraries .. no
    EGL on X11 ........................... no
    Xinput2 .............................. yes
    XCB XKB .............................. yes
    XLib ................................. yes
    XCB render ........................... yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... no
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows
    Qt PrintSupport:
    CUPS ................................... yes
    QtXmlPatterns:
    XML schema support ..................... yes

    Note: Also available for Linux: linux-clang linux-icc

    Note: Using static linking will disable the use of dynamically
    loaded plugins. Make sure to import all needed static plugins,
    or compile needed modules into the library.

    Note: Disabling Linux Accessibility Bridge: D-Bus is missing.

    ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

    I have installed fontconfig-devel and freetype-devel.
    I added "-fontconfig" to the configure options but still it says that fontconfig
    is disabled.

    any ideas?

    Do I need to file a bug report?

    jsulmJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Might be a silly question but did you install the fontconfig dev package ?

      The summary output shows that it's not detected.

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

      1 Reply Last reply
      1
      • T Trino

        Hello all,

        I get a configure error when trying to compile the Qt 5.9rc sources.
        I downloaded the source here:
        http://download.qt.io/development_releases/qt/5.9/5.9.0-rc/single/

        My systems runs openSuse Leap 42.2.

        Here are the configure options I used:

        ./configure -release -opensource -confirm-license -c++std c++11 -static -accessibility -fontconfig -skip qtdeclarative -skip qtconnectivity -skip qtmultimedia -no-qml-debug -qt-zlib -no-mtdev -no-journald -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -no-openssl -no-libproxy -no-glib -nomake examples -nomake tests -no-compile-examples -cups -no-evdev -no-dbus -no-eglfs -qreal double -no-opengl -skip qtlocation -skip qtsensors -skip qtwayland -skip qtgamepad -skip qtserialbus

        This is the output:

        Running configuration tests...
        Checking for gold linker... no
        Checking for machine tuple... yes
        Checking for valid makespec... yes
        Checking for alloca() in alloca.h... yes
        Checking for target architecture... x86_64
        Checking for SSE2 instructions... yes
        Checking for SSE3 instructions... yes
        Checking for SSSE3 instructions... yes
        Checking for SSE4.1 instructions... yes
        Checking for SSE4.2 instructions... yes
        Checking for AVX instructions... yes
        Checking for AVX2 instructions... yes
        Checking for AVX512 F instructions... no
        Checking for new dtags support... yes
        Checking for F16C instructions... yes
        Checking for pkg-config... yes
        Checking for D-Bus >= 1.2 (host)... yes
        Checking for udev... no
        Checking for mremap()... yes
        Checking for POSIX fallocate()... yes
        Checking for precompiled header support... yes
        Checking for symbol visibility support... yes
        Checking for -Bsymbolic-functions support... yes
        Checking for STL compatibility... yes
        Checking for clock_gettime()... yes
        Checking for POSIX monotonic clock... yes
        Checking for dlopen()... yes
        Checking for eventfd... yes
        Checking for POSIX iconv... yes
        Checking for ICU... yes
        Checking for inotify... yes
        Checking for SysV IPC... yes
        Checking for 64 bit atomics... yes
        Checking for ppoll()... yes
        Checking for slog2... no
        Checking for DoubleConversion... no
        Checking for PCRE2... no
        Checking for O_CLOEXEC... yes
        Checking for working std::atomic for function pointers... yes
        Checking for getaddrinfo()... yes
        Checking for getifaddrs()... yes
        Checking for IPv6 ifname... yes
        Checking for DB2 (IBM)... no
        Checking for InterBase... no
        Checking for MySQL... no
        Checking for OCI (Oracle)... no
        Checking for ODBC... no
        Checking for PostgreSQL... no
        Checking for SQLite (version 2)... no
        Checking for TDS (Sybase)... no
        Checking for XCB >= 1.5 (core)... yes
        Checking for OpenVG... no
        Checking for GBM... no
        Checking for KMS... yes
        Checking for LinuxFB... yes
        Checking for default QPA platform... xcb
        Checking for XCB (extensions)... no
        Checking for tslib... no
        Checking for X11 prefix... /usr
        Checking for XCB GLX... yes
        Checking for X11 session management... yes
        Checking for XLib... yes
        Checking for XCB Xlib... yes
        Checking for Xinput2... yes
        Checking for xkbcommon-x11 >= 0.4.1... no
        Checking for XKB config root... /usr/share/X11/xkb
        Checking for xkbcommon... no
        Checking for CUPS... yes
        Done running configuration tests.

        Configure summary:

        Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
        Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 enable_new_dtags f16c largefile precompile_header release c++11 concurrent mremap no-qml-debug reduce_exports reduce_relocations static stl
        Build options:
        Mode ................................... release
        Optimize release build for size ........ no
        Building shared libraries .............. no
        Using C++ standard ..................... C++11
        Using gold linker ...................... no
        Using new DTAGS ........................ yes
        Using precompiled headers .............. yes
        Using LTCG ............................. no
        Target compiler supports:
        SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
        AVX .................................. AVX AVX2 F16C
        AVX512 ............................... <none>
        Build parts ............................ libs tools
        Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... no
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
        Support enabled for:
        Using pkg-config ....................... yes
        QML debugging .......................... no
        udev ................................... no
        Using system zlib ...................... no
        Qt Core:
        DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
        GLib ................................... no
        iconv .................................. no
        ICU .................................... yes
        Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
        Using system PCRE2 ..................... no
        Qt Network:
        getaddrinfo() .......................... yes
        getifaddrs() ........................... yes
        IPv6 ifname ............................ yes
        libproxy ............................... no
        OpenSSL ................................ no
        Qt directly linked to OpenSSL ........ no
        SCTP ................................... no
        Use system proxies ..................... yes
        Qt Sql:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite2 ................................ no
        SQLite ................................. yes
        Using system provided SQLite ......... no
        TDS (Sybase) ........................... no
        Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
        Using system FreeType ................ no
        HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
        Fontconfig ............................. no
        Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
        Using system libjpeg ............... no
        PNG .................................. yes
        Using system libpng ................ no
        EGL .................................... no
        OpenVG ................................. no
        OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
        Session Management ..................... yes
        Features used by QPA backends:
        evdev .................................. no
        libinput ............................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon-evdev ........................ no
        QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ yes
        VNC .................................... yes
        Mir client ............................. no
        X11:
        Using system-provided XCB libraries .. no
        EGL on X11 ........................... no
        Xinput2 .............................. yes
        XCB XKB .............................. yes
        XLib ................................. yes
        XCB render ........................... yes
        XCB GLX .............................. yes
        XCB Xlib ............................. yes
        Using system-provided xkbcommon ...... no
        Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
        Qt PrintSupport:
        CUPS ................................... yes
        QtXmlPatterns:
        XML schema support ..................... yes

        Note: Also available for Linux: linux-clang linux-icc

        Note: Using static linking will disable the use of dynamically
        loaded plugins. Make sure to import all needed static plugins,
        or compile needed modules into the library.

        Note: Disabling Linux Accessibility Bridge: D-Bus is missing.

        ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

        I have installed fontconfig-devel and freetype-devel.
        I added "-fontconfig" to the configure options but still it says that fontconfig
        is disabled.

        any ideas?

        Do I need to file a bug report?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Trino Add -v parameter to configure command and see what exactly is missing

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • T Offline
          T Offline
          Trino
          wrote on last edited by
          #4

          Changing the configure option "-qt-freetype" to "-system-freetype" solved the problem.
          Apparently it's not possible to link in fontconfig static.

          1 Reply Last reply
          1

          • Login

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