[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00881) application compilation on mandrake 8.0 fails



Seeing this problem in the Oct 1 snapshot.  Not sure if it is distribution 
madness or something that USAGi should worry about.

The problem seems to be the location of the termcap.h and libtermcap library:

For example, make in usagi/telnet gives:
===================
	telnet.cc:66:21: termcap.h: No such file or directory
	make: *** [telnet.o] Error 1
===================

The reason is that telnet.cc does a "#include <termcap.h>".  At least on 
Mandrake 8.0, it should be "#include <ncurses/termcap.h>"

I solved this problem with:
=====================
	# cd /usr/include
	# ln -s ncurses/termcap.h termcap.h
=====================
which is not such a good idea, but it worked.

This problem existed in the Sep 17 snapshot too.  Not sure about earlier ones.


-- 
Parijat Mishra
R & D Engineer,
Centre for Wireless Communications, NUS
Tel: (65)8709353