[CMake] ccmake is not getting installed

Pradeep Jha pradeep at ccs.engg.nagoya-u.ac.jp
Tue Jan 29 10:29:44 EST 2013


Hello,

I do have the ncurses.h file

-----------------------------------------------------------------
[root at 83 cmake-2.8.10.2]# locate ncurses.h
/usr/include/ncurses.h
/usr/include/ncurses/ncurses.h
/usr/include/ncursesw/ncurses.h
------------------------------------------------------------------

But how do I make the compiler notice it?


2013/1/30 Bill Hoffman <bill.hoffman at kitware.com>

> On 1/29/2013 4:06 AM, Pradeep Jha wrote:
>
>> Hello,
>>
>> I have attached the cmake-run.out file with this email. Also the output
>> for all the commands that you suggested is attached below.
>>
>
> You are missing the header files for curses, not the libraries.  You need
> the headers to compile against the libraries.
>
>
> You need to find curses.h or ncurses.h on the machine, cmake looks here:
>
>  find_file(CURSES_HAVE_CURSES_H curses.h )
>   find_path(CURSES_CURSES_H_PATH curses.h )
>  find_file(CURSES_HAVE_NCURSES_**H         ncurses.h)
>   find_file(CURSES_HAVE_NCURSES_**NCURSES_H ncurses/ncurses.h)
>   find_file(CURSES_HAVE_NCURSES_**CURSES_H  ncurses/curses.h)
>   find_file(CURSES_HAVE_CURSES_H          curses.h)
>
> Usually means you did not install the dev package.
>
> -Bill
>
>
>
>> Thanks
>> ------------------------------**------------------------------**
>> -------------------
>> [root at 83 build]# /usr/local/bin/cmake ./../cmake-2.8.10.2
>> Curses libraries were not found. Curses GUI for CMake will not be built.
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/pradeep/softwares/cmake-**
>> 2.8.10.2
>> ------------------------------**------------------------------**
>> -------------------
>> [root at 83 build]# locate libncurses.so.5
>> /usr/lib/libncurses.so.5
>> /usr/lib/libncurses.so.5.5
>> /usr/lib64/libncurses.so.5
>> /usr/lib64/libncurses.so.5.5
>> ------------------------------**------------------------------**
>> -------------------
>> [root at 83 build]# /usr/local/bin/cmake
>> -DCURSES_NCURSES_LIBRARY=/usr/**lib64/libncurses.so.5 ../cmake-2.8.10.2
>> Curses libraries were not found. Curses GUI for CMake will not be built.
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/pradeep/softwares/cmake-**
>> 2.8.10.2
>> ------------------------------**------------------------------**
>> -------------------
>>
>>
>>
>>
>> 2013/1/29 Eric Noulard <eric.noulard at gmail.com
>> <mailto:eric.noulard at gmail.com**>>
>>
>>     -DCURSES_NCURSES_LIBRARY=/usr/**lib64/libncurses.so.5
>> ../cmake-2.8.10.2
>>
>>
>>
>>
>>
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/**
>> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>>
>>
>
> --
> Bill Hoffman
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> bill.hoffman at kitware.com
> http://www.kitware.com
> 518 881-4905 (Direct)
> 518 371-3971 x105
> Fax (518) 371-4573
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130130/b3a9b745/attachment-0001.htm>


More information about the CMake mailing list