cmake installation on Scientific Linux 6
I was trying to install cmake in my own area on SL6. I downloaded cmake-2.8.7.tar.gz from cmake.org. But when I build it, there are some errors. And I don't know how to solve it.
Linking CXX executable ../bin/ccmake
/usr/bin/ld: CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.o: undefined reference to symbol 'keypad'
/usr/bin/ld: note: 'keypad' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [bin/ccmake] Error 1
make: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
make: *** [all] Error 2