DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 137 forks source link

cmake_install.cmake (line 42-47) #74

Open ShalokShalom opened 6 years ago

ShalokShalom commented 6 years ago
==> 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...

screenshot_20180209_004243

Linux (KaOS) cmake 3.10.2

edin-m commented 6 years ago

You probably don’t have write permissions for the install destination. Either make it or install it as sudo.

ShalokShalom commented 6 years ago

I normally get asked by the package manager once the package get to be installed. Why on build time?

erkdiwakar2021 commented 12 months ago
Screenshot 2023-11-14 at 19 31 29

Hi, Everybody. When I tried to install the ISCE2 software, I always received the error as displayed in the above image. I am using a Macbook 13 Pro machine with an Apple silicon chip. Can anyone help to sort out the problem? It took almost 2 weeks, but I didn't figure out the problem.