Re: [Interest] Building 5.13.1 on CentOS6.

2019-10-09 Thread Thiago Macieira
On Tuesday, 8 October 2019 14:16:28 PDT Simon Matthews wrote:
> I am trying to build Qt 5.13.1 on CentOS6.

Upgrade.

> I have the related xcb packages installed:
[...]
> Package libxcb-devel-1.12-4.el6.x86_64 already installed and latest version
> Package xcb-util-0.4.0-2.2.el6.x86_64 already installed and latest version
> Package xcb-util-devel-0.4.0-2.2.el6.x86_64 already installed and latest

You're missing xkbcommon. Please install 0.5.0 or later.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Building 5.13.1 on CentOS6.

2019-10-08 Thread Simon Matthews
I am trying to build Qt 5.13.1 on CentOS6. I have run into an error that
others have reported, but the reported solutions don't seem to work.

I am using devtoolset-8, which brings in gcc version 8.3.1

The error is:

ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread
&& features.xkbcommon && libs.xcb' failed.

I have the related xcb packages installed:

# sudo yum install libxcb-devel xcb-util xcb-util-devel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink |  17 kB 00:00
  * base: mirror.sjc02.svwh.net
  * centos-sclo-sclo: sjc.edge.kernel.org
  * epel: mirror.sjc02.svwh.net
  * extras: mirror.keystealth.org
  * updates: mirror.sjc02.svwh.net
base | 3.7 kB 00:00
centos-sclo-rh | 2.9 kB 00:00
centos-sclo-sclo | 2.9 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Package libxcb-devel-1.12-4.el6.x86_64 already installed and latest version
Package xcb-util-0.4.0-2.2.el6.x86_64 already installed and latest version
Package xcb-util-devel-0.4.0-2.2.el6.x86_64 already installed and latest
version

I can't find a package that installs xkbcommon in the standard repositories.

My configure command:

./configure -v  -R
'\\$$ORIGIN/lib:\\$$ORIGIN:\\$$ORIGIN/../lib:\\$$ORIGIN/../../lib'
-opensource -qt-libpng -qt-zlib -qt-libjpeg  -nomake examples
-sql-sqlite -sqlite -confirm-license -prefix
/usr/lib/Qt/Qt-5.13.1-x86_64 -widgets -skip activeqt -skip androidextras
-skip connectivity  -skip macextras  -skip serialport -icu -fontconfig
-no-reduce-relocations -qt-xcb -system-proxies -no-pulseaudio
-no-alsa   -no-mtdev   -dbus -qt-pcre -no-libudev -no-openssl
-no-xcb-xinput   -rpath

which results in the following summary:

Configure summary:

Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 8.3.1
Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f
avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi
avx512vl compile_examples enable_new_dtags f16c largefile
precompile_header rdrnd shani x86SimdAlways shared rpath release c++11
c++14 c++1z concurrent dbus reduce_exports stl
Build options:
   Mode ... release
   Optimize release build for size  no
   Building shared libraries .. yes
   Using C standard ... C11
   Using C++ standard . C++17
   Using ccache ... 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
 AVX512 ... F ER CD PF DQ BW VL IFMA VBMI
 Other x86  AES F16C RDRAND SHA
 Intrinsics without -mXXX option .. yes
   Build parts  libs tools
Qt modules and options:
   Qt Concurrent .. yes
   Qt D-Bus ... yes
   Qt D-Bus directly linked to libdbus  yes
   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
   udev ... no
   Using system zlib .. no
   Zstandard support .. no
Qt Core:
   DoubleConversion ... yes
 Using system DoubleConversion  no
   GLib ... yes
   iconv .. no
   ICU  yes
   Built-in copy of the MIME database . yes
   Tracing backend  
   Logging backends:
 journald . no
 syslog ... no
 slog2  no
   Using system PCRE2 . no
Qt Network:
   getifaddrs() ... yes
   IPv6 ifname  yes
   libproxy ... no
   Linux AF_NETLINK ... no
   OpenSSL  no
 Qt directly linked to OpenSSL  no
   OpenSSL 1.1  no
   DTLS ... no
   OCSP-stapling .. no
   SCTP ... no
   Use system proxies . yes
Qt Gui:
   Accessibility .. yes
   FreeType ... yes
 Using system FreeType  yes
   HarfBuzz ... yes
 Using system HarfBuzz