I've spent the last 3 hours trying to follow the instructions on the http://jflex.de/installing.html page.
So far I have tried:
usr/shared
folder (which is not permitted)ln -s /developer/jflex-1.6.1/bin/jflex /usr/bin/jflex
, which is also not permitted.I know that with the Sierra Os there is a lot of new restrictions on programs being downloaded from unrecognized developers, so I even edited the restrictions to allow any programs using the code sudo spctl --master-disable
in the terminal.
Use "usr/local/bin/jflex instead of usr/bin/jflex" or disable the System Integrity Protection. Type "csrutil status" in your terminal to check it.