Unsolved QT 5.12.2 installation error
-
Hi All
I am trying to compile 5.12.2 on RHEL 7.4 getting below error,
Command, ./configure -system-xcb
Error:
Note: Also available for Linux: linux-clang linux-icc
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
ERROR: Feature 'system-xcb' was enabled, but the pre-condition 'features.xcb && tests.xcb_syslibs' failed.xcb related libraries are already installed thru OS package. but still got below features error.
do I need to specifically mention the OS path for the libraries?Thanks
Kumar -
Hi and welcome to devnet,
Do you have the libxkbcommon development package installed ?
-
Hi SGaist
thanks for the response.
Yes, I have installed below XKB packages,
libxkbcommon-0.7.1-1
libxkbcommon-x11-0.7.1-1Thanks
Kumar -
@arunqt These are not development packages. You need also libxkbcommon*-dev
-
Hi,
thanks, now it got reduced to one error,
ERROR: Feature 'system-xcb' was enabled, but the pre-condition 'features.xcb && tests.xcb_syslibs' failed.
any other packages I need?
Thanks
Kumar -
@arunqt Add -v parameter to configure call and check the log - you should see more detailed information what exactly is missing.
-
Did you clean up before calling configure again ?
On a side note, please use out of source builds, so when something goes wrong you can just nuke the build folder and start new.
-
Hi,
Yes, I am removing the entire build folder each time I run the configure.
Thanks
Kumar -
Then as already suggested, add the -v option and check the tests logs to see what exactly failed when the xcb detection is running.
-
Hi,
Now I have got all dependencies fixed and there is no error, I am building now...
Thanks a lot for your support.
Regards
Kumar