Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qt5-base] build failure: Feature 'xcb' was enabled, but the pre-condition 'features.thread && libs.xcb && tests.xcb_syslibs && features.xkbcommon-x11' failed. #15150

Closed
chenpei2 opened this issue Dec 16, 2020 · 13 comments · Fixed by #15596
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@chenpei2
Copy link

chenpei2 commented Dec 16, 2020

Host Environment

  • OS: Ubuntu 18.04
  • Compiler: gcc 7.5.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install qt5-base:x64-linux

Failure logs

Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 7.5.0
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 optimize_debug precompile_header rdrnd shani x86SimdAlways debug c++11 c++14 c++17 c++1z concurrent dbus reduce_exports reduce_relocations release_tools static stl
Build options:
  Mode ................................... debug; optimized tools
  Optimize debug build ................... yes
  Building shared libraries .............. no
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Generating GDB index ................... no
  Relocatable ............................ no
  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 .... 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
  udev ................................... no
  Using system zlib ...................... yes
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ yes
  GLib ................................... no
  iconv .................................. no
  ICU .................................... yes
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. no
    Using system PCRE2 ................... yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ yes
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ yes
  Fontconfig ............................. yes
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... yes
    PNG .................................. yes
      Using system libpng ................ yes
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. yes
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ yes
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ yes
  LinuxFB ................................ yes
  VNC .................................... yes
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. yes
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... yes
  TDS (Sybase) ........................... no
Qt Testlib:
  Tester for item models ................. yes

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.

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

Additional context
I have installed all the needed libs according to this page:https://doc.qt.io/qt-5/linux-requirements.html , except libxcd-xinerama-dev, which is unable to locate on my machine. Is there anything to do with this lib?

@JackBoosY
Copy link
Contributor

cc @Neumann-A

@chenpei2
Copy link
Author

It seems that the package name in the qt documentation is wrong. Anyway, I installed libxcb-xinerama0-dev with this command:
apt-get install libxcb-xinerama0-dev
and problem is solved.

@JackBoosY JackBoosY reopened this Dec 16, 2020
@JackBoosY
Copy link
Contributor

Should we fix the required package name?

@chenpei2
Copy link
Author

chenpei2 commented Dec 16, 2020

not sure, but I installed a full list of packages below to build qt5-base:
libx11-dev
libx11-xcb-dev
libxext-dev
libxfixes-dev
libxi-dev
libxrender-dev
libxcb1-dev
libxcb-glx0-dev
libxcb-keysyms1-dev
libxcb-image0-dev
libxcb-shm0-dev
libxcb-icccm4-dev
libxcb-sync0-dev
libxcb-xfixes0-dev
libxcb-shape0-dev
libxcb-randr0-dev
libxcb-render-util0-dev
libxcd-xinerama-dev (should be libxcb-xinerama0-dev on ubuntu 18.04)
libxkbcommon-dev
libxkbcommon-x11-dev @JackBoosY

@JackBoosY JackBoosY added the requires:repro The issue is not currently repro-able label Dec 18, 2020
@marshevms
Copy link
Contributor

marshevms commented Jan 12, 2021

I can confirm that installing the above packages helped.
BUT on Ubunutu 20.04:

 libxcb-sync0-dev is just libxcb-sync-dev
 libxcd-xinerama-dev is libxcb-xinerama0-dev

@MohamadHalwani
Copy link

MohamadHalwani commented Aug 1, 2021

I'm facing the exact same issue, and nothing here solved the issue !
Any suggestions ?
Note: I'm using ubuntu 16.04 !

@JackBoosY
Copy link
Contributor

@MohamadHalwani See #16486 (comment)

StefanVK added a commit to StefanVK/FaceSwap that referenced this issue Dec 16, 2021
StefanVK added a commit to StefanVK/FaceSwap that referenced this issue Dec 22, 2021
* Trying to set up github runner workflow

see https://github.com/marketplace/actions/run-vcpkg

* vcpkg.json lowercase name

Errors occurred while parsing D:\a\FaceSwap\FaceSwap\cmakepresets\vcpkg.json
      $.name (an identifier): must be lowercase alphanumeric+hyphens and not reserved (see https://github.com/Microsoft/vcpkg/tree/master/docs/users/manifest.md for more information)

* @vcpkg.json
specify required opencv4 modules

On linux got:
 Error: gstreamer:x64-linux@1.19.2#2 is only supported on '(windows | osx) & (x64 | x86)'

opencv[gstreamer] is a module that we do not need

* next attempt at fixing vcpkg.json

* next attempt at fixing vcpkg.json

* looks like gstreamer was still pulled in as a dependency of qt / qt

vcpkg>vcpkg depend-info qt
// ...
qtmultimedia[gstreamer, qml, widgets]: angle, gstreamer, qtbase, qtdeclarative, qtshadertools
//...

* Try to fix linux CI build:

Try to install gperf before running vcpkg step

  Building package fontconfig[core]:x64-linux...
  -- Downloading https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.13.94/fontconfig-2.13.94.tar.gz -> fontconfig-fontconfig-2.13.94.tar.gz...
  -- Extracting source /home/runner/work/FaceSwap/b/vcpkg/downloads/fontconfig-fontconfig-2.13.94.tar.gz
  -- Using source at /home/runner/work/FaceSwap/b/vcpkg/buildtrees/fontconfig/src/2.13.94-6fd83e1cbe.clean
  CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:613 (message):
  Error:   Could not find gperf.  Please install it via your package manager.

* Try to fix linux CI build:

Try to install gperf before running vcpkg step

  Building package fontconfig[core]:x64-linux...
  -- Downloading https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.13.94/fontconfig-2.13.94.tar.gz -> fontconfig-fontconfig-2.13.94.tar.gz...
  -- Extracting source /home/runner/work/FaceSwap/b/vcpkg/downloads/fontconfig-fontconfig-2.13.94.tar.gz
  -- Using source at /home/runner/work/FaceSwap/b/vcpkg/buildtrees/fontconfig/src/2.13.94-6fd83e1cbe.clean
  CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:613 (message):
  Error:   Could not find gperf.  Please install it via your package manager.

* Try to fix linux CI build

microsoft/vcpkg#10381
https://github.com/StefanVK/FaceSwap/runs/4513100827?check_suite_focus=true

  Building package libepoxy[core]:x64-linux...
  -- libgles2-mesa-dev must be installed before libepoxy can build. Install it with "apt-get install libgles2-mesa-dev".
  -- Downloading https://github.com/anholt/libepoxy/archive/1.5.9.tar.gz -> anholt-libepoxy-1.5.9.tar.gz...
  -- Extracting source /home/runner/work/FaceSwap/b/vcpkg/downloads/anholt-libepoxy-1.5.9.tar.gz
  -- Using source at /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean
  -- Found external ninja('1.10.2').
  -- Getting CMake variables for x64-linux-dbg
  -- Getting CMake variables for x64-linux-rel
  -- Configuring x64-linux-dbg
  -- Configuring x64-linux-dbg done
  -- Configuring x64-linux-rel
  -- Configuring x64-linux-rel done
  -- Package x64-linux-dbg
  [LogCollection][Start]File:'/home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/package-x64-linux-dbg-out.log':
  [1/14] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean/src/gen_dispatch.py --header --no-source --outputdir=include/epoxy ../src/1.5.9-fb4e410a2d.clean/registry/glx.xml
  [2/14] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean/src/gen_dispatch.py --header --no-source --outputdir=include/epoxy ../src/1.5.9-fb4e410a2d.clean/registry/egl.xml
  [3/14] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean/src/gen_dispatch.py --source --no-header --outputdir=src ../src/1.5.9-fb4e410a2d.clean/registry/egl.xml
  [4/14] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean/src/gen_dispatch.py --source --no-header --outputdir=src ../src/1.5.9-fb4e410a2d.clean/registry/glx.xml
  [5/14] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/libepoxy/src/1.5.9-fb4e410a2d.clean/src/gen_dispatch.py --header --no-source --outputdir=include/epoxy ../src/1.5.9-fb4e410a2d.clean/registry/gl.xml
  [6/14] /usr/bin/cc -Isrc/libepoxy.a.p -Isrc -I../src/1.5.9-fb4e410a2d.clean/src -Iinclude -I../src/1.5.9-fb4e410a2d.clean/include -Iinclude/epoxy -I/home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -g -fPIC -g -fPIC -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -Wno-int-conversion -MD -MQ src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o -MF src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o.d -o src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o -c src/egl_generated_dispatch.c
  FAILED: src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o
  /usr/bin/cc -Isrc/libepoxy.a.p -Isrc -I../src/1.5.9-fb4e410a2d.clean/src -Iinclude -I../src/1.5.9-fb4e410a2d.clean/include -Iinclude/epoxy -I/home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -g -fPIC -g -fPIC -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -Wno-int-conversion -MD -MQ src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o -MF src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o.d -o src/libepoxy.a.p/meson-generated_.._egl_generated_dispatch.c.o -c src/egl_generated_dispatch.c
  In file included from ../src/1.5.9-fb4e410a2d.clean/include/epoxy/egl.h:46,
                   from ../src/1.5.9-fb4e410a2d.clean/src/dispatch_common.h:59,
                   from src/egl_generated_dispatch.c:11:
  Error: include/epoxy/egl_generated.h:11:10: fatal error: EGL/eglplatform.h: No such file or directory

* Try to fix macOS build

  autoreconf: running: aclocal --force -I m4
  Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
  autoreconf: error: aclocal failed with exit status: 2

  [LogCollection][End]File:'/Users/runner/work/FaceSwap/b/vcpkg/buildtrees/libb2/autoconf-x64-osx-err.log'.
  CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
  Error:     Command failed: /usr/local/bin/autoreconf -vfi

* install python

https://github.com/StefanVK/FaceSwap/runs/4513498591?check_suite_focus=true

  Warning: [LogCollection][Warn]File not found:'Command failed: /usr/bin/python3 /home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux/tools/meson/meson.py -Dwayland-backend=false -Dx11-backend=true -Dbroadway-backend=false -Dwin32-backend=false -Dmacos-backend=false -Ddemos=false -Dbuild-examples=false -Dbuild-tests=false -Dinstall-tests=false -Dgtk_doc=false -Dman-pages=false -Dintrospection=disabled -Dmedia-ffmpeg=disabled -Dmedia-gstreamer=disabled -Dprint-cups=disabled -Dvulkan=disabled -Dcloudproviders=disabled -Dsysprof=disabled -Dtracker=disabled -Dcolord=disabled --buildtype plain --backend ninja --wrap-mode nodownload --native /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/meson-native-x64-linux.log --default-library static --libdir lib --native /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/meson-native-x64-linux-debug.log'.
  CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
  Error:     Command failed: /usr/bin/python3 /home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux/tools/meson/meson.py -Dwayland-backend=false -Dx11-backend=true -Dbroadway-backend=false -Dwin32-backend=false -Dmacos-backend=false -Ddemos=false -Dbuild-examples=false -Dbuild-tests=false -Dinstall-tests=false -Dgtk_doc=false -Dman-pages=false -Dintrospection=disabled -Dmedia-ffmpeg=disabled -Dmedia-gstreamer=disabled -Dprint-cups=disabled -Dvulkan=disabled -Dcloudproviders=disabled -Dsysprof=disabled -Dtracker=disabled -Dcolord=disabled --buildtype plain --backend ninja --wrap-mode nodownload --native /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/meson-native-x64-linux.log --default-library static --libdir lib --native /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/meson-native-x64-linux-debug.log -Ddebug=true --prefix /home/runner/work/FaceSwap/b/vcpkg/packages/gtk_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux/debug','/home/runner/work/FaceSwap/b/vcpkg_installed/x64-linux'] /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/src/a0ae733b32-18e1e2c397.clean
      Working Directory: /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/x64-linux-dbg
      Error code: 1
      See logs for more information:
        /home/runner/work/FaceSwap/b/vcpkg/buildtrees/gtk/config-x64-linux-dbg-out.log

* xandr for linux CI build

  ../src/a0ae733b32-18e1e2c397.clean/meson.build:494:2: ERROR: Dependency "xrandr" not found, tried pkgconfig and cmake

* brew install aclocal

* still fighting missing xrandr

* libxrandr could not bet downloaded

try from warning
   Warning:   You will need to install Xorg dependencies to use feature x11:

    apt install libx11-dev libxft-dev

* Moved vcpkg.json/CMakePresets.json to root folder of project

* try default-features: false

* macos build: aclocal missing

https://nevio.medium.com/brew-install-autoconf-brew-install-automake-brew-install-libtool-c7a5fec47acf

* Error:   qtbase requires feature doubleconversion on windows!

* ../src/a0ae733b32-18e1e2c397.clean/meson.build:494:2: ERROR: Dependency "xrandr" not found, tried pkgconfig and cmake

* ../src/a0ae733b32-18e1e2c397.clean/meson.build:498:2: ERROR: Dependency "xi" not found, tried pkgconfig and cmake

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a5da35478de9a1edb0866201528523910548a6

* Try 2021-05-12 release version of vcpkg

5568f110b509a9fd90711978a7cb76bae75bb092

microsoft/vcpkg@5568f11

* qt instead of qtbase

* try vcpkg 2021.12.01

* Error: qt:x64-linux@6.2.1 does not have required feature concurrent

* no feature selection for qt

* try qtbase again

* linux install libxi-dev

* ../src/a0ae733b32-18e1e2c397.clean/meson.build:500:2: ERROR: Dependency "xcursor" not found, tried pkgconfig and cmake

* linux install libxdamage-dev

  Run-time dependency xdamage found: NO (tried pkgconfig and cmake)

  ../src/a0ae733b32-18e1e2c397.clean/meson.build:501:2: ERROR: Dependency "xdamage" not found, tried pkgconfig and cmake

* linux install libxinerama-dev

Run-time dependency xinerama found: NO (tried pkgconfig and cmake)

  ../src/a0ae733b32-18e1e2c397.clean/meson.build:545:2: ERROR: Dependency "xinerama" not found, tried pkgconfig and cmake

* linux install libxkbcommon-dev

  ERROR: Feature "xkbcommon": Forcing to "ON" breaks its condition:
      XKB_FOUND
  Condition values dump:
      XKB_FOUND = "FALSE"

  CMake Error at cmake/QtBuildInformation.cmake:80 (message):
  Error:   Check the configuration messages for an error that has occurred.

* fix cmakeListsTxtPath

* linux install libxkbcommon-x11-dev

* Update build_cmake.yml

added libxcb-xrm-dev

* Update build_cmake.yml

linux install libx11-xcb-dev

* Linux install packages listed at:

microsoft/vcpkg#15150

* Try using jurple install qt because the github runners run out of memory trying to build qt

* Try using jurple install qt because the github runners run out of memory trying to build qt

* Reenable installs

* qt 6.2.2

* Split github actions by platfrom

* linux: g++-10 / clang++12
windows: rename workflow

* fix runs-on

* set env cc/ccx

* - CI job names
- explicitly set CC/CCX for cmake step
- CI status badges in readmy

* !ccx

* ! still cxx

* "clang++-12"

* target_include_directories(FaceMorph PRIVATE ${CMAKE_SOURCE_DIR}/src)

* Only use windeployqt if we're on windows

* windeployqt: try to handle both the vcpkg case with windeployqt.debug.bat and the normal install case without debug/release split
@995939901
Copy link

sudo apt-get install libx11-*
sudo apt-get install libx11*

sudo apt-get install libxcb-*
sudo apt-get install libxcb*

sudo apt-get install libxkbcommon-devsudo
sudo apt-get install libxkbcommon-x11-dev

@A3itor
Copy link

A3itor commented Mar 28, 2023

sudo apt-get install libx11-* sudo apt-get install libx11*

sudo apt-get install libxcb-* sudo apt-get install libxcb*

sudo apt-get install libxkbcommon-devsudo sudo apt-get install libxkbcommon-x11-dev

You are the man, thank you very much

@Bzz2745
Copy link

Bzz2745 commented Sep 1, 2023

So how can I install this dependences in rhel (my system version is 9.1)?

@silverqx
Copy link
Contributor

silverqx commented Sep 3, 2023

Described here

sudo apt-get install build-essential perl python3 git
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev

@tiemuhua
Copy link

sudo apt-get install libx11-* sudo apt-get install libx11*

sudo apt-get install libxcb-* sudo apt-get install libxcb*

sudo apt-get install libxkbcommon-devsudo sudo apt-get install libxkbcommon-x11-dev

sudo apt-get install libxkbcommon-dev
not
sudo apt-get install libxkbcommon-devsudo

@AndreiCherniaev
Copy link

You can use my example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants