-
Notifications
You must be signed in to change notification settings - Fork 51
OSXInstallation
Rob Thornton edited this page Aug 4, 2024
·
4 revisions
Both Homebrew and MacPorts have pkg-config.
Tthe latest version of ncurses at the time of writing is 6.0 and is backwards compatible with 5.9. Either is fine though goncurses has been mainly tested against 5.9.
- MacPorts - includes the .pc files required for pkg-config support of ncurses. Use this version for the easiest setup.
- Homebrew - See Below
Warning - Homebrew does not install ncurses with pkg-config support. You will need to do some work to set this up or make some changes to goncurses. This blog describes how to setup this version for pkg-config but use at your own risk.
$ go get github.com/rthornton128/goncurses
Homebrew may not install pkg-config
files for ncurses
libraries. In such an event, goncurses
will fail to build as it utilizes pkg-config
to find the C libraries when binding them. A potential solution/workaround can be found in this issue comment.