-
-
Save cnruby/960344 to your computer and use it in GitHub Desktop.
$ 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 |
hi guys
I have a problem like this...
I tried "sudo make install"
"? tic could not build /usr/local/share/terminfo
make[1]: *** [install.data] Error 1
make: *** [install] Error 2"
how can i solve it?....
hi guys
I have a problem like this...
I tried "sudo make install"
"? tic could not build /usr/local/share/terminfo
make[1]: *** [install.data] Error 1
make: *** [install] Error 2"
how can i solve it?....
i solved it like this
$./configure
$make
& sudo make install
It's probably already installed as osx uses it. Just tell gcc to link to it: gcc -lncurses ...
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:
gcc -o -lform -lncurses [file] [name]
If using xcode the linker options are buried under project->build settings->all->other linker flags.
This works thanks
Sadly, I couldn't solve it :(