So, here is the problem:

I've downloaded vim6.4 source files.
launched ./configure
then make

make broken with this message:
objects/os_unix.o: In function `mch_set_shellsize':/home/hell/vimsource/vim-6.4/upstream/tarballs/vim64/src/os_unix.c:3169: undefined reference to `term_set_winsize'
I looked into os_unix.c:
* if you get an error here that term_set_winsize() is
* undefined, check the output of configure. It could probably not
* find a ncurses, termcap or termlib library.
yeah, this is from configure output:
checking --with-tlib argument... automatic terminal library selection
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -ltermlib... (cached) no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
none found
Hmm. Can't find anywhere termlib or termcap libraries (as I understood they are old & there are no such libraries in dapper)

So, the packages I installed:
libaca-dev
libaca0
libncurses5
libncurses5-dbg
libncurses5-dev
ncurses-base
ncurses-bin
ncurses-term

I suppose not all are needed =)
Still there`s the same problem..

It wold be nice to recieve any help))