LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cmake install problem (https://www.linuxquestions.org/questions/linux-newbie-8/cmake-install-problem-4175477962/)

Zaheer304 09-21-2013 01:05 AM

cmake install problem
 
I am trying to install cmake 2.8.9 on my Centos6.4 but having following error

gmake: `cmake' is up to date.
loading initial cache file /home/Zaheer/cmake-2.8.9/Bootstrap.cmk/InitialCacheFlags.cmake
Curses libraries were not found. Curses GUI for CMake will not be built.
CMake Error at Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
QT_QTCORE_LIBRARY) (Required is at least version "4.4.0")
Call Stack (most recent call first):
Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
Modules/FindQt4.cmake:1200 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Source/QtDialog/CMakeLists.txt:14 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake

It seems it is looking for QT, but that too has been installed.
I am stuck

JJJCR 09-21-2013 01:19 AM

check out this link: http://www.cmake.org/cmake/help/cmake_tutorial.html

on the error it says: Curses libraries were not found. Curses GUI for CMake will not be built.

All the files or libraries necessary to install is on your system?

It could be your package having a problem.

knudfl 09-21-2013 05:05 AM

Building cmake : # yum install ncurses-devel (Ref. post #2.)

Better : Install the latest "Centos 6.4 cmake" from EPEL
https://fedoraproject.org/wiki/EPEL
http://ftp.crc.dk/fedora-epel/6/i386...l-release.html
→ epel-release-6-8.noarch →
http://ftp.crc.dk/fedora-epel/6/i386...6-8.noarch.rpm
# yum localinstall epel-release-6-8.noarch.rpm

# yum install cmake28
.. provides cmake-2.8.11.2 : /usr/bin/cmake28

-

Zaheer304 09-21-2013 07:39 PM

Thanks a lot........it worked


All times are GMT -5. The time now is 09:49 PM.