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

ERROR: cannot install on macOS if you are root or using sudo (not recommended for brew). #5699

Open
LagrangePoint3 opened this issue Sep 5, 2024 · 2 comments

Comments

@LagrangePoint3
Copy link

Describe the bug

I tried to download the OpenROAD from sources locally. I'm using Mac with M1 chip.

In the procedure of clone and install dependencies by running the setup.sh script, as following,
sudo ./setup.sh

I got an error saying that:

ERROR: cannot install on macOS if you are root or using sudo (not recommended for brew).

Is there any other Mac users also facing the same problem? How do you fix this problem?

Expected Behavior

No response

Environment

ERROR: cannot install on macOS if you are root or using sudo  (not recommended for brew).

To Reproduce

No response

Relevant log output

No response

Screenshots

Screenshot 2024-09-05 at 7 00 54 PM

Additional Context

No response

@maliberty
Copy link
Member

@stefanottili are things working for you now?

@stefanottili
Copy link

stefanottili commented Sep 8, 2024

I run the etc/DependencyInstaller which takes care of homebrew and wget and all compiles/builds. recently gtest had an issue but that has been fixed.
No need for sudo.

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