Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
Hello,

I installed cmake without ncurses. It is version 2.8.10.2 and CentOS 5.4
---
[root@83 cmake-2.8.10.2]# cmake --version
cmake version 2.8.10.2
[root@83 ~]# cat /etc/redhat-release
CentOS release 5.4 (Final)
-
I did actually download my cmake from the link that you sent me (
http://www.cmake.org/cmake/resources/software.html).

But now that I have installed cmake, how do I rebuild it including ccmake?
And I have no idea why I am using bootstrap. I was just following the
instructions. Is there any other way around?

Thanks for the replies,
Pradeep




2013/1/29 Eric Noulard eric.noul...@gmail.com

 2013/1/28 Pradeep Jha pradeep.kumar@gmail.com:
  Hello,
 
  thank you for your replies.
 
  I  mentioned in previous email that I tried this command already and
 this is what I am getting as output:
  
  [root@83 ~]# yum install ncurses-devel

 [...]

 Sorry I overlooked that one.

 May be you can bootstrap without ncurses and then wiht the resulting
 'cmake'
 rebuild cmake including ccmake.

 May be only the bootstrap script is unable to find ncurses?
 By the way what do you mean by the latest version of cmake ?
 Is it 2.8.10.2 or git master?

 Why do you bootstrap?
 Did you try using prebuilt cmake
 (from http://www.cmake.org/cmake/resources/software.html
  or from other repo (http://repoforge.org/ see in
 http://pkgs.repoforge.org/cmake/)
 in order to rebuild your own?

 By the way why do you want to bootstrap CMake ?
 Is the version shipped with CentOS too old ?
 Do you use CentOS 5 or CentOS 6 ?
 --
 Erk
 Le gouvernement représentatif n'est pas la démocratie --
 http://www.le-message.org

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
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.

Thanks
---
[root@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@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@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.noul...@gmail.com

 -DCURSES_NCURSES_LIBRARY=/usr/lib64/libncurses.so.5 ../cmake-2.8.10.2



cmake-run.out
Description: Binary data
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
Hello,

I do have the ncurses.h file

-
[root@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.hoff...@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@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@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@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.noul...@gmail.com
 mailto:eric.noul...@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.htmlhttp://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake



 --
 Bill Hoffman
 Kitware, Inc.
 28 Corporate Drive
 Clifton Park, NY 12065
 bill.hoff...@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.htmlhttp://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] ccmake is not getting installed

2013-01-28 Thread Pradeep Jha
Hello,

I am trying to install the latest version of 
cmake on my centos linux machine.


[root@83 lib64]# uname -a
Linux 83.shin.fluid.cse.nagoya-u.ac.jp 2.6.18-164.el5 #1 
SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 
x86_64 x86_64 GNU/Linux


When I run the bootsrap command, it executes it successfully 
but gives me the following message at the end:

Curses libraries were not found. Curses GUI for CMake will not be built.

I need the ccmake command. I checked and I have the libncurses 
lib file in the /usr/lib and /usr/lib64  folders:

---
[root@83 lib]# ls libncurses*
libncurses.alibncurses_g.a  libncurses.so.5
libncurses++w.a  libncursesw_g.a  libncursesw.so.5
libncurses++.a  libncurses.so   libncurses.so.5.5  
libncursesw.alibncursesw.so   libncursesw.so.5.5

[root@83 lib64]# ls libncurses*
libncurses.alibncurses_g.a  libncurses.so.5   
 libncurses++w.a  libncursesw_g.a  libncursesw.so.5
libncurses++.a  libncurses.so   libncurses.so.5.5  
libncursesw.alibncursesw.so   libncursesw.so.5.5


I checked for updates for all the ncurses packages and 
my yum is telling me it is already up-to-date. (I 
have shown the output at the end of this email).

Please help me. I am not sure where to go about from 
here. I need ccmake to run to install a software 
which depends on it.

Thanks 
Pradeep

-
[root@83 lib64]# yum install ncurses
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.iij.ad.jp
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Setting up Install Process
Package ncurses-5.5-24.20060715.x86_64 already installed and latest version
Package ncurses-5.5-24.20060715.i386 already installed and latest version
Nothing to do
[root@83 lib64]# yum install ncurses-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.iij.ad.jp
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Setting up Install Process
Package ncurses-devel-5.5-24.20060715.x86_64 already installed and latest 
version
Package ncurses-devel-5.5-24.20060715.i386 already installed and latest version
Nothing to do

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] ccmake is not getting installed

2013-01-28 Thread Pradeep Jha

Eric Noulard eric.noulard@... writes:

 
 2013/1/28 Kornel Benko kornel@...:
  Am Montag, 28. Januar 2013 um 09:15:58, schrieb Pradeep Jha
  pradeep.kumar.jha@...
 
 
 
  When I run the bootsrap command, it executes it successfully
 
  but gives me the following message at the end:
 
 
 
  Curses libraries were not found. Curses GUI for CMake will not be built.
 
 
 
 
 
  To compile, you need the devel-version of libncurses package.
 
  On your OS it may have slightly different name.
 
 On redhat-like distro (RHEL, Fedora, CentOS, ...) it's usually called
 packageName-devel,
 yo could try
 
 yum install ncurses-devel
 

Hello,

thank you for your replies.

I  mentioned in previous email that I tried this command already 
and this is what I am getting as output:

-
[root@83 ~]# yum install ncurses-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.iij.ad.jp
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
Setting up Install Process
Package ncurses-devel-5.5-24.20060715.x86_64 already installed and latest 
version
Package ncurses-devel-5.5-24.20060715.i386 already installed and latest version
Nothing to do
-

It says that the ncurses is already installed on the system. 
Any other leads?

Regards,
Pradeep

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake