Scientific Linux 6.1 でlvをソースからコンパイル

ネットで検索するとrpmもあったけど、由来がわからないと信用できないので、ソースからコンパイルして、インストールする作戦。

だが、make で以下のように失敗した

console.o:/tmp/lv451/build/../src/console.c:322: more undefined references to `tgetstr' follow
console.o: In function `ConsoleTermInit':
/tmp/lv451/build/../src/console.c:380: undefined reference to `tputs'
/tmp/lv451/build/../src/console.c:382: undefined reference to `tputs'
console.o: In function `ConsoleScrollDown':
/tmp/lv451/build/../src/console.c:627: undefined reference to `tputs'
console.o: In function `ConsoleScrollUp':
/tmp/lv451/build/../src/console.c:621: undefined reference to `tputs'
console.o: In function `ConsoleClearRight':
/tmp/lv451/build/../src/console.c:610: undefined reference to `tputs'
console.o:/tmp/lv451/build/../src/console.c:605: more undefined references to `tputs' follow

以下の記事より、以下をインストールして成功

# yum install libtermcap-devel ncurses-devel

[users:01723] Re: 解決 make 時に collect2: ld returned 1
http://the.turbolinux.co.jp/archive/ml/users/msg01720.html

curses.h等のヘッダが存在しないのが原因だと思い下記をinstallしたところ
うまくいきました。
・libtermcap-devel-2.0.8-18
・ncurses-devel-4.2-17