Created
May 7, 2011 09:05
-
-
Save cnruby/960344 to your computer and use it in GitHub Desktop.
HOW TO INSTALL ncurses on MacOSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -O ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz | |
$ tar -xzvf ncurses-5.9.tar.gz | |
$ cd ./ncurses-5.9 | |
$ ./configure --prefix=/usr/local \ | |
--without-cxx --without-cxx-binding --without-ada --without-progs --without-curses-h \ | |
--with-shared --without-debug \ | |
--enable-widec --enable-const --enable-ext-colors --enable-sigwinch --enable-wgetch-events \ | |
&& make | |
$ sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's probably already installed as osx uses it. Just tell gcc to link to it:
gcc -lncurses ...