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

Change Install Directory #251

Open
IshaanKarnik opened this issue Aug 12, 2021 · 1 comment
Open

Change Install Directory #251

IshaanKarnik opened this issue Aug 12, 2021 · 1 comment

Comments

@IshaanKarnik
Copy link

My Current Installed Directory : /tmp/usr/local and I wish to change to /usr/local

I tried the following but couldn't change the install location

  • sudo make install -DCMAKE_INSTALL_PREFIX=/usr/local
  • sudo make prefix=/usr/local install
  • sudo make install prefix=/usr/local

I tried to change CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/tmp/usr/local to CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/usr/local in Makefile present in home directory but still couldn't succeed.

@blanaa
Copy link

blanaa commented Aug 27, 2021

I think it's because the makefile force the installation in /tmp/usr/local. I change the directory in "makefile" and it works.

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

2 participants