Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Cmake build error

    Reply
    pingu | # 1 | 2010-08-29, 15:31 | Report

    Hi,
    I am trying to build a package from sourc on my n900 using cmake.
    I succesfully installed cmake and cmake-data packages. when I type "cmake" in maemo's terminal I get:
    Originally Posted by
    cmake version 2.6-patch 3
    Usage

    cmake [options] <path-to-source>
    cmake [options] <path-to-existing-build>

    Options
    -C <initial-cache> = Pre-load a script to populate the cache.
    -D <var>:<type>=<value> = Create a cmake cache entry.
    ...
    --version [file] = Show program name/version banner and exit.

    Generators

    The following generators are available on this platform:
    Unix Makefiles = Generates standard UNIX makefiles.
    CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
    Eclipse CDT4 - Unix Makefiles
    = Generates Eclipse CDT 4.0 project files.
    KDevelop3 = Generates KDevelop 3 project files.
    KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.
    but when I try to build someting ("cmake /path/to/source/dir/") I get this error:
    Originally Posted by
    Make 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/opt/blender/build_cmake/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/opt/blender/build_cmake/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!
    CMake Error: Unable to open cache file for save. /home/opt/blender/build_cmake/CMakeCache.txt
    CMake Error: : System Error: Permission denied
    /home/opt/blender/build_cmake $ sudo cmake ../blender-2.50a1
    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/opt/blender/build_cmake/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/opt/blender/build_cmake/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!
    I think I am missing a package or need to set a parameter because the generator exists.
    Someone knows how to solve it?

    BTW: I have gcc and g++ installed.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pingu | # 2 | 2010-08-31, 18:59 | Report

    Anyone knows. I think I just miss a package. But which?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kopele | # 3 | 2010-08-31, 20:55 | Report

    Looks like you might be missing make, see here: https://bbs.archlinux.org/viewtopic.php?id=71305

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout