|$ 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 \|
|$ sudo make install|
I am getting the following error on running the ./configure :
The detailed output can be seen here : http://pastebin.com/Z7sZgdUL
Can someone point out how I can rectify this?
hi guys, I am trying creates a simple app with ncurses library, but I'm not getting success, this is message of error:
anybody can help me ?
Linker issues mean that you didn't invoke -lncurses when compiling. ncurses requires this, as well as other ncurses libs, i.e. to compile a c file using ncurses and the ncurses' 'form' lib you'd use:
If using xcode the linker options are buried under project->build settings->all->other linker flags.
If you came here looking for
tl;dr: brew doesn't have a version that old, macports does (but it won't compile). compile it instead from the tarballs that Apple releases of macOS open source code.