Successfully build from source, but installation "Error copying" ...
-
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' failedHow to install Qt from source?
Cheers
Pei -
Hi,
Since you used
/usr/local
as prefix you need root privilege to create files there. -
@jiapei100 said in Successfully build from source, but installation "Error copying" ...:
sudo checkinstall
What is
checkinstall
? -
@jiapei100 said in Successfully build from source, but installation "Error copying" ...:
checkinstall
that "command" doesn't show up in any location in the documentation you pointed to. Are you meaning:
make install
(or using sudo make install if the install prefix needs root privileges)