Update compilation instruction for macos

N-R-K 2022-05-31 06:44:44 +00:00
parent 1b6fbc38b0
commit 33b41bfe38

@ -158,6 +158,12 @@ $ ls -l nnn-static
31953 user 20 0 2428 2244 4 S 0.0 0.0 0:00.02 ./nnn-static -cdDEnQrux /usr/bin
```
## Compile for MacOS
On macos the default system ncurses library is too old and can cause issues. Install a more up to date version from homebrew and link against it via adding the library path to `$LDLIBS`
$ LDLIBS="-L/opt/homebrew/opt/ncurses/lib/" make
## Compile for Pi
The `nnn` version available as a stable Raspbian package is very out of date (v2.2), which means that the only way to get a recent version of `nnn` is to compile from source.