Unsolved Successfully build from source, but installation "Error copying" ...
jiapei100 last edited by jiapei100
I successfully built qt source qt-everywhere-src-5.11.1, following the instructions at http://doc.qt.io/qt-5/linux-building.html.
However, when I tried to install Qt by sudo checkinstall, I got the following error messages:
Error copying ....../qt-everywhere-src-5.11.1/qtbase/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h to /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h: Cannot create /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h for output
Makefile:1230: recipe for target 'install_targ_headers' failed
How to install Qt from source?
Since you used
/usr/localas prefix you need root privilege to create files there.
jiapei100 last edited by
@SGaist Hi, I actually was using
Pablo J. Rogina last edited by
that "command" doesn't show up in any location in the documentation you pointed to. Are you meaning:
(or using sudo make install if the install prefix needs root privileges)