← Back to team overview

rohc team mailing list archive

[Question #250846]: cmocka installation issues

 

New question #250846 on rohc:
https://answers.launchpad.net/rohc/+question/250846

Hi Didier, I am getting the following error during installation. What is that build directory which is mentioned in that installation procedure? Am I doing right??

bcg@BCGA53:~/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/cmocka-0.4.1/build$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
[sudo] password for bcg: 
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:31 (include):
  include could not find load file:

    DefineCMakeDefaults


CMake Error at CMakeLists.txt:32 (include):
  include could not find load file:

    DefinePlatformDefaults


CMake Error at CMakeLists.txt:33 (include):
  include could not find load file:

    DefineCompilerFlags


CMake Error at CMakeLists.txt:34 (include):
  include could not find load file:

    DefineInstallationPaths


CMake Error at CMakeLists.txt:35 (include):
  include could not find load file:

    DefineOptions.cmake


CMake Error at CMakeLists.txt:36 (include):
  include could not find load file:

    CPackConfig.cmake


CMake Error at CMakeLists.txt:39 (include):
  include could not find load file:

    MacroEnsureOutOfSourceBuild


CMake Error at CMakeLists.txt:40 (macro_ensure_out_of_source_build):
  Unknown CMake command "macro_ensure_out_of_source_build".


-- Configuring incomplete, errors occurred!

Also tried as root,


root@BCGA53:/root# cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug 
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:31 (include):
  include could not find load file:

    DefineCMakeDefaults


CMake Error at CMakeLists.txt:32 (include):
  include could not find load file:

    DefinePlatformDefaults


CMake Error at CMakeLists.txt:33 (include):
  include could not find load file:

    DefineCompilerFlags


CMake Error at CMakeLists.txt:34 (include):
  include could not find load file:

    DefineInstallationPaths


CMake Error at CMakeLists.txt:35 (include):
  include could not find load file:

    DefineOptions.cmake


CMake Error at CMakeLists.txt:36 (include):
  include could not find load file:

    CPackConfig.cmake


CMake Error at CMakeLists.txt:39 (include):
  include could not find load file:

    MacroEnsureOutOfSourceBuild


CMake Error at CMakeLists.txt:40 (macro_ensure_out_of_source_build):
  Unknown CMake command "macro_ensure_out_of_source_build".


-- Configuring incomplete, errors occurred!


Please help...

You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.