OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

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

Open LagrangePoint3 opened this issue 1 year ago • 2 comments

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

LagrangePoint3 avatar Sep 05 '24 23:09 LagrangePoint3

@stefanottili are things working for you now?

maliberty avatar Sep 05 '24 23:09 maliberty

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.

stefanottili avatar Sep 08 '24 04:09 stefanottili