简体   繁体   中英

How to install Jflex on Mac OS Sierra

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:

  • to move the jflex-1.6.1 file to the hidden usr/shared folder (which is not permitted)
  • and moving the jflex-1.6.1 file to a developer folder I have in my home directory, and then creating a symbolic link using the code 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM