Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'ncurses wont install' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ncurses wont install
Authored by: macubergeek on Apr 10, '02 08:23:24PM

Ok I regret not installing ncurses via fink
Ncurses is evil...just plain evil

I did
./configure -host=powerpc-apple-macosx

make kicked up a myriad of byzantine, cryptic errors scrolling by too fast to recall.

I did sudo make install and after yet more cryptic gibberish flying by too fast to read...I'm left with this make error:
"/tmp/17163", line 395, col 3, terminal 'ecma+color': unknown capability 'AX'
"/tmp/17163", line 3193, col 40, terminal 'screen': unknown capability 'G0'
"/tmp/17163", line 3212, col 59, terminal 'screen': unknown capability 'E0'
"/tmp/17163", line 3213, col 12, terminal 'screen': unknown capability 'S0'
"/tmp/17163", line 3165, terminal 'eterm': name multiply defined.
"/tmp/17163", line 12958, terminal 'NCR260VT300WPP': can't link N/NCR260VT300WPP to n/ncr260vt300wpp
? tic could not build /usr/local/share/terminfo
make[1]: *** [install.data] Error 1
make: *** [install] Error 2
jamesk @ /Users/jamesk/Desktop/ncurses-5.2@HOME-->

does anyone have any ideas on how to fix this?
When I try to install ncurses via fink after this it tells me ncurses is installed. How do I test to see if it installed. Geeeeze unix programs are such barfy whiny complaining beasties ;-(



[ Reply to This | # ]
ncurses wont install
Authored by: dlandrith on May 08, '02 07:59:13PM

You need to apply a patch to the source that has been available for (about 9 months). The gnu ftp site (and its mirrors) do not have any of the patches online, so you have to go straight to the home ftp site for ncurses. Following is the address to the patch directory on Thomas Dickey's ftp server:

ftp://dickey.his.com/ncurses/patches/

The simplest way to apply the patch is to grab the lastest "rollup" patch that the author (Thomas Dickey) has made. Once a month, he takes all of the latest patches and creates a shell script that will update the source. The way that you do this is to untar and gunzip the ncurses download, gnunzip the patch, then copy the patch to the ncurses directory (the one that resulted from untaring and gunziping it), then running it by typing sh <patch name>.

Then do configure --prefix=/usr/local --mandir=/usr/local/share/man; make; make install.

It will compile and install without a hitch.

You really should have ncurses installed for whenever you compile a terminal program. BSD curses (the standard libcurses and curses.h) are really very buggy, especially if you are doing programming. Moreover, ncurses does quite a bit more and almost every terminal based program will take advantage of it.



[ Reply to This | # ]