Description
In "build" step, the process interrput with the following information:
[100%] Built target spmatrix_test
[100%] Building C object CMakeFiles/splinalg_test.dir/splinalg/test.c.o
[100%] Linking C executable bin/splinalg_test
[100%] Built target splinalg_test
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libgsl.a
CMake Error at cmake_install.cmake:46 (file):
file INSTALL cannot copy file "/public/home/dy/bin/gsl/build/libgsl.a" to
"/usr/local/lib/libgsl.a": Permission denied.
Unfortunately, I have no sudoer right, and I used
opam install gpl
which also meet with the same error
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
- /usr/bin/sudo "yum" "install" "gsl-devel"
[sudo] password for dy:
- dy is not in the sudoers file. This incident will be reported.
[ERROR] System package install failed with exit code 1 at command:
sudo yum install gsl-devel
However, I can install gsl without build step by my own prefix
So, how should I do to change the prefix in build step?