Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install error #382

Closed
YouShaoze opened this issue Jul 8, 2020 · 3 comments
Closed

make install error #382

YouShaoze opened this issue Jul 8, 2020 · 3 comments

Comments

@YouShaoze
Copy link

-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/cmake/GTSAM/gtsam_extra.cmake
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot set permissions on
"/usr/local/lib/cmake/GTSAM/gtsam_extra.cmake"

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

@dellaert
Copy link
Member

dellaert commented Jul 8, 2020

sudo?

@dellaert
Copy link
Member

dellaert commented Jul 8, 2020

Personally I never install in /usr/local, but specify my $HOME as a prefix

@varunagrawal
Copy link
Collaborator

This is clearly a permissions error on the user's end.

@YouShaoze please use sudo make install if you are using /usr/local/lib as your CMake Install Prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants