You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
How are you running the installation command? /usr/local by default requires sudo; you can install into your own user directory, e.g. using ~ or ~/local as you desire. If using CMake, e.g. cmake --install, you can change the installation root via the --prefix argument. For example, using ~ as the install root, you can install like this:
cmake --install build_dir --prefix $HOME
Your final installation tree in your user directory ~ should then look something like this:
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
[sudo] password for dy:
[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?
The text was updated successfully, but these errors were encountered: