-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
if I use this cmake command
cmake -DKDU_LIBRARY=/usr/local/lib/libkdu.a \
-DKDU_AUX_LIBRARY=/usr/local/lib/libkdu_aux.a \
-DKDU_INCLUDE_DIR=/usr/local/include/kakadu \
-DCMAKE_INSTALL_PREFIX=/usr/local \
..
using make install in the quick start tries to copy files to
/usr/local/lib/libkduc.so
/usr/local/include/kduc.h
but it permission is denied as shown in the output below:
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libkduc.so
CMake Error at cmake_install.cmake:52 (file):
file INSTALL cannot copy file "/home/ubuntu/kduc/build/libkduc.so" to
"/usr/local/lib/libkduc.so": Permission denied.
make: *** [Makefile:110: install] Error 1
This is fixed by instead using sudo make install
Metadata
Metadata
Assignees
Labels
No labels