KYDronePilot / hdfm

UI for live weather/traffic/meta data collected from HD Radio stations
Other
166 stars 12 forks source link

could not chdir to '/usr/local/bin' #27

Open rlang19 opened 11 months ago

rlang19 commented 11 months ago

Hi, i'm pretty new to this sort of stuff. I got nrsc5 to install correctly on my mac but am unable to install hdfm through the mac terminal. I get the error message curl: (23) Failure writing output to destination. I'm running MacOS Sonoma 14.0

KYDronePilot commented 11 months ago

Sounds like System Integrity Protection is enabled on your Mac, which blocks you from being able to write to the /usr directory.

To get hdfm installed you have two options:

  1. Disable System Integrity Protection per the instructions here: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection#3599244
  2. Quicker: Install to another, unprotected directory, like your home directory:
    curl -sSL 'https://github.com/KYDronePilot/hdfm/releases/download/v2.0.1/hdfm-x86_64-apple-darwin.tgz' | tar xzv -C ~/

    And then run it like this:

    ~/hdfm <frequency> <program>