我试图CGAL-4.11.1
在没有 root 权限的情况下在本地服务器上安装,但到目前为止我失败了。
tar -xvzf cgal-releases-CGAL-4.11.1.tar.gz
cmake -DCGAL_DIR:/local_path .
make
make install
我收到这个错误
-- Install configuration: "Release"
CMake Error at Installation/cmake_install.cmake:36 (file):
file cannot create directory: /usr/local/share/doc/CGAL-4.11.1-I-900.
Maybe need administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:37 (include)
Makefile:61: recipe for target 'install' failed
make: *** [install] Error 1
上面的命令不起作用。有什么建议应该如何做吗?