cmake_install.cmake (line 42-47)
ShalokShalom opened this issue · comments
ShalokShalom commented
==> Making package: devil 1.8.0-1 (Fri Feb 9 00:37:59 CET 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v1.8.0.tar.gz
==> Validating source files with md5sums...
v1.8.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting v1.8.0.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
64 bit compiler detected
-- Could not find libSquish
64 bit compiler detected
64 bit compiler detected
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matthias/Projekte/KaOS/makepkg/devil/src
[ 71%] Built target IL
[ 88%] Built target ILU
[100%] Built target ILUT
==> Entering fakeroot environment...
==> Starting package()...
[ 71%] Built target IL
[ 88%] Built target ILU
[100%] Built target ILUT
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libIL.so
CMake Error at src-IL/cmake_install.cmake:47 (file):
file INSTALL cannot copy file
"/home/matthias/Projekte/KaOS/makepkg/devil/src/lib/x64/libIL.so" to
"/usr/local/lib/libIL.so".
Call Stack (most recent call first):
cmake_install.cmake:42 (include)
make: *** [Makefile:74: install] Error 1
==> ERROR: A failure occurred in package().
Aborting...
Linux (KaOS)
cmake 3.10.2
Edin Mujagic commented
You probably don’t have write permissions for the install destination. Either make it or install it as sudo.
ShalokShalom commented
I normally get asked by the package manager once the package get to be installed.
Why on build time?
Diwakar Khadka commented