Anupam Srivastava wrote: [...] (Vim does compile on my system)
Try to do this. locate curses.h (or ncurses.h)
locate curses.h /usr/include/curses.h /usr/include/curses/curses.h /usr/include/ncurses.h /usr/include/python2.4/py_curses.h /usr/include/slcurses.h
locate libncurses (or libcurses)
locate libncurses /lib/libncurses.so.5 /lib/libncurses.so.5.4 /usr/lib/libncurses++.a /usr/lib/libncurses++w.a /usr/lib/libncurses.a /usr/lib/libncurses.so /usr/lib/libncurses.so.4 /usr/lib/libncurses.so.4.2 /usr/lib/libncursesw.so /usr/lib/libncursesw.so.5 /usr/lib/libncursesw.so.5.5
If out of any of this commans is nothing, your installation is faulty. The directory of first output should go into CPPFLAGS and other should go into LDFLAGS
IIUC, only one of each should go into CPPFLAGS and LDFLAGS
like this: anda=`locate curses.h` export CPPFLAGS=-I`dirname $anda`
dirname `locate curses.h` dirname: extra operand `/usr/include/curses/curses.h' Try `dirname --help' for more information
anda=`locate libncurses` export LDFLAGS=-I`dirname $anda`
dirname `locate libncurses` dirname: extra operand `/lib/libncurses/so.5.4' Try `dirname --help' for more information
and then do ./configure - -- Anupam Srivastava Scientific Coworker Universität Stuttgart
Best regards, Tony.