Re: [CMake] Error using sudo ./bootstrap && make && make install

2018-10-17 Thread David Demelier


Le 16/10/2018 à 23:04, Frank Tocci a écrit :

Hello,

I am trying to install Cmake and I am running into an error when I 
enter the install directory and run

sudo ./bootstrap && make && make install
as specified in the README file


Hello,

You're not supposed to do sudo bootstrap. You should always build as 
your user. Only make install has to be run as root.


So do the following:

./boostrap

make

sudo make install

I'll update the README.

regards


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] Error using sudo ./bootstrap && make && make install

2018-10-16 Thread Frank Tocci
Hello,

I am trying to install Cmake and I am running into an error when I enter
the install directory and run
sudo ./bootstrap && make && make install
as specified in the README file

The error message is as follows:

CMake Error at cmake_install.cmake:41 (file):
  file INSTALL cannot copy file
  "/home/frank/Downloads/cmake-3.13.0-rc1/Copyright.txt" to
  "/usr/local/doc/cmake-3.13/Copyright.txt".


Makefile:83: recipe for target 'install' failed
make: *** [install] Error 1

Thank you,
Frank Tocci
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake