Cmake returns errors

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Cmake returns errors

Postby Lebarhon » Oct 7th, '11, 18:56

Hello,

I'am trying to install Rawtherapee 4 from sources because the package doesn't exist for Mageia yet (if a packager could do something :) thanks a lot). Here is the error message from cmake :
[samageia@localhost rawtherapee]$ cmake -DCMAKE_BUILD_TYPE=release -DPROC_TARGET_NUMBER:STRING=1 -DCMAKE_INSTALL_PREFIX=./rawtherapee -DBINDIR=. -DDATADIR=. -DLIBDIR=.
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/samageia/rawtherapee/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/samageia/rawtherapee/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
[samageia@localhost rawtherapee]$

cmake 64 is installed from the MCC, I suppose some dependences are missing, but which ones ? For example, in Rawtherapee forum, it is said lcms2 is needed, but I can't find it
I am using Mageia1 with Xfce 64 bits
On the same PC, Rawtherapee 3 is working fine with Mandriva 2010.2 KDE 32 bits.
Thanks
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Cmake returns errors

Postby isadora » Oct 7th, '11, 19:40

A "New Package Request" has already been made for rawtherapee:
https://bugs.mageia.org/show_bug.cgi?id=1650
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Cmake returns errors

Postby Lebarhon » Oct 7th, '11, 22:13

Thank you, I am very happy with that.
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Cmake returns errors

Postby Lebarhon » Oct 9th, '11, 16:09

Solved !
gcc-c++ was missing, but how is it possible that there was not even a simple message like : gcc not found ???
Now the important is that I have Rawtherapee in 32 bits and 64 bits. BTW, do you know how to have a brand new PC without paying a single penny ? Replace KDE 32 bits by Xfce 64 bits :)
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Cmake returns errors

Postby doktor5000 » Oct 9th, '11, 16:25

Lebarhon wrote:gcc-c++ was missing, but how is it possible that there was not even a simple message like : gcc not found ???

Badly written cmake scripts? If you look at your original cited error messages, you will actually see lots of error messages about compiler ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron