I am trying to install and test alps on Ubuntu 12.04 32-bit system. Things went pretty fine until it got the point where it wanted to install the project , then it reported that “file cannot create directory /opt/alps/include. Maybe need administrative privileges. ”
What should I do? Please help as I do not know how to proceed.
Details of the last few steps before the error warning are shown below: [ 99%] Built target accumulate_if [ 99%] Built target vector_functions [100%] Built target vector_valarray_conversion Install the project... -- Install configuration: "Release" CMake Error at cmake_install.cmake:36 (FILE): file cannot create directory: /opt/alps/include. Maybe need administrative privileges.
make: *** [install] Error 1 enukpere@ubuntu:~/alps-2.1.1-r6176-src-with-boost/build$ sudo cmake_install.cmake [sudo] password for enukpere: sudo: cmake_install.cmake: command not found
Enukpere,E.E. Physics Department, University of Benin, Benin City, Nigeria.
Dear Enukpere,
Please try
sudo make install
in the build directory.
Best, Synge
On Jun 15, 2014, at 22:30, emmanuel enukpere enukpere1@yahoo.com wrote:
I am trying to install and test alps on Ubuntu 12.04 32-bit system. Things went pretty fine until it got the point where it wanted to install the project , then it reported that “file cannot create directory /opt/alps/include. Maybe need administrative privileges. ”
What should I do? Please help as I do not know how to proceed.
Details of the last few steps before the error warning are shown below: [ 99%] Built target accumulate_if [ 99%] Built target vector_functions [100%] Built target vector_valarray_conversion Install the project... -- Install configuration: "Release" CMake Error at cmake_install.cmake:36 (FILE): file cannot create directory: /opt/alps/include. Maybe need administrative privileges.
make: *** [install] Error 1 enukpere@ubuntu:~/alps-2.1.1-r6176-src-with-boost/build$ sudo cmake_install.cmake [sudo] password for enukpere: sudo: cmake_install.cmake: command not found
Enukpere,E.E. Physics Department, University of Benin, Benin City, Nigeria.
Dear Enukpere,
if you don't have root access, place the installation directory into your home directory and specify the correct path when executing cmake with -DCMAKE_INSTALL_PREFIX=/home/yourusername/and_so_on/place_where_alps_should_be_installed
Best regards, Daniel
On 15/06/14 16:08, Synge Todo wrote:
Dear Enukpere,
Please try
sudo make install
in the build directory.
Best, Synge
On Jun 15, 2014, at 22:30, emmanuel enukpere enukpere1@yahoo.com wrote:
I am trying to install and test alps on Ubuntu 12.04 32-bit system. Things went pretty fine until it got the point where it wanted to install the project , then it reported that “file cannot create directory /opt/alps/include. Maybe need administrative privileges. ”
What should I do? Please help as I do not know how to proceed.
Details of the last few steps before the error warning are shown below: [ 99%] Built target accumulate_if [ 99%] Built target vector_functions [100%] Built target vector_valarray_conversion Install the project... -- Install configuration: "Release" CMake Error at cmake_install.cmake:36 (FILE): file cannot create directory: /opt/alps/include. Maybe need administrative privileges.
make: *** [install] Error 1 enukpere@ubuntu:~/alps-2.1.1-r6176-src-with-boost/build$ sudo cmake_install.cmake [sudo] password for enukpere: sudo: cmake_install.cmake: command not found
Enukpere,E.E. Physics Department, University of Benin, Benin City, Nigeria.
comp-phys-alps-users@lists.phys.ethz.ch