ERROR: Feature 'xcb' was enabled, but the pre-condition 'libs.xcb' failed
-
wrote on 4 Apr 2019, 13:55 last edited by
Hi There,
i am facing this issue while building Qt Sources version 5.9.7 statically.
i want know why error occurred and how to resolve this issue?i tried to install X11 Requirement then also configured it but still facing the same issue.?
please help with this issue
Thanks in Advance
-
Hi,
Did you re-run configure from a clean state ?
-
wrote on 5 Apr 2019, 06:58 last edited by
Yes, I tried it from the clean state but it doesn't resolve. Gives the same error.!
-
wrote on 5 Apr 2019, 12:13 last edited by Sukdev 4 May 2019, 12:15
After deleting the Configuration files and configure again, the error resolved. but i am getting another error while building qt src 5.9.7 on Ubuntu 16.04.
- [module declarative make first] Error 2
Even I have tried to installed the qtdeclarative5-dev and qtdeclarative5-private-dev libraries and build again but give the same errors.
sudo ./configure -prefix $PWD/5.9.7 -release -static -accessibility -qt-zlib -qt-libpng -qt-libjpeg -qt-xcb -qt-pcre -qt-freetype -no-glib -no-cups -no-sql-sqlite -no-opengl -no-egl -no-xinput2 -no-sm -no-icu -nomake examples -nomake tests -skip qtactiveqt -skip qtenginio -skip qtlocation -skip qtmultimedia -skip qtserialport -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtwebsockets -skip qtxmlpatterns -skip qt3d
- [module declarative make first] Error 2
-
Lifetime Qt Championwrote on 5 Apr 2019, 13:59 last edited by SGaist 4 May 2019, 14:03
First thing, don't use sudo, there's no need for that.
Then I would rather do an out of source build with qtbase only and then go on with the rest.
-
wrote on 8 Apr 2019, 06:36 last edited by
@SGaist said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'libs.xcb' failed:
ther do an out o
Could you please update more in details would be helpful.
-
@SGaist said in ERROR: Feature 'xcb' was enabled, but the pre-condition 'libs.xcb' failed:
ther do an out o
Could you please update more in details would be helpful.
@Sukdev Out of source build:
mkdir /home/USER/build cd /home/USER/build PATH_TO_QT_SOURCES/qtbase/configure ... make make install
Basically, you don't build inside source code directory.
-
wrote on 8 Apr 2019, 08:54 last edited by Sukdev 4 Aug 2019, 08:54
Thanks, it's resolved now with building fresh qt src packages and by removing sudo ...
-
Good !
Then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
2/9