← Back to team overview

yade-users team mailing list archive

Re: [Question #211043]: An error occured on using "make install" during installation

 

Question #211043 on Yade changed:
https://answers.launchpad.net/yade/+question/211043

    Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

> CMake Error at cmake_install.cmake:38 (FILE):
>   file INSTALL cannot copy file "/home/lully/yade/bins/yade-Unknown-batch" to
>   "/usr/local/bin/yade-Unknown-batch".

you do not have enough rights to install yade into /usr/local.
Set INSTALL_PREFIX [1] or use "sudo make install" (the last is NOT
recommended!).
Also installing from packages can be a good alternative [2].

Cheers,

Anton

[1] https://yade-dem.org/doc/installation.html#compilation
[2] https://yade-dem.org/doc/installation.html#packages

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.