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

Cloning the repository #43

Open
erbad opened this issue Jun 8, 2022 · 1 comment
Open

Cloning the repository #43

erbad opened this issue Jun 8, 2022 · 1 comment

Comments

@erbad
Copy link

erbad commented Jun 8, 2022

Dear all,

The installation and building of complexes++ shown here creates ownership conflicts when running sudo make install. A solution I found was to add sudo before each command (even git clone, and change the ownership of the complexespp folder afterwards.

Could you suggest an alternative way without the sudo commands?

Thank you,
Davide

@berenger-eu
Copy link
Collaborator

Dear @erbad it is unclear to me what it the real issue. Please could you point to me which of the following steps is invalid?
Running make install will put files into /usr therefore, the root privilege is required.
This is why sudo make install must be used.
If someone does not want to be root, one can use cmake -DCMAKE_INSTALL_PREFIX:PATH=/your/path .. to change the path, for example cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/x/complexespp-install .. (executed in the build dir) and then make install (without sudo).
Doing so it is possible to install in a dir with regular user privileges.
Would that solve your problem?

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