The-OpenROAD-Project / OpenROAD

OpenROAD's unified application implementing an RTL-to-GDS Flow. Documentation at https://openroad.readthedocs.io/en/latest/
https://theopenroadproject.org/
BSD 3-Clause "New" or "Revised" License
1.52k stars 530 forks source link

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

Open LagrangePoint3 opened 3 weeks ago

LagrangePoint3 commented 3 weeks ago

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 commented 3 weeks ago

@stefanottili are things working for you now?

stefanottili commented 2 weeks ago

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.