Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    1

    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[2]: *** [bin/ccmake] Error 1
    make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
    make: *** [all] Error 2


    Thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,752
    Add the atrpms repository to your yum installation. Then you can install it directly with yum. I run scientific linux 6 and that's how I did it. So, first install the package atrpms.noarch, and then install cmake. Done deal!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •