cmocka installation issues
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:
[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:
DefineCMake
CMake Error at CMakeLists.txt:32 (include):
include could not find load file:
DefinePlatf
CMake Error at CMakeLists.txt:33 (include):
include could not find load file:
DefineCompi
CMake Error at CMakeLists.txt:34 (include):
include could not find load file:
DefineInsta
CMake Error at CMakeLists.txt:35 (include):
include could not find load file:
DefineOptio
CMake Error at CMakeLists.txt:36 (include):
include could not find load file:
CPackConfig
CMake Error at CMakeLists.txt:39 (include):
include could not find load file:
MacroEnsure
CMake Error at CMakeLists.txt:40 (macro_
Unknown CMake command "macro_
-- Configuring incomplete, errors occurred!
Also tried as root,
root@BCGA53:/root# cmake -DCMAKE_
-- 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:
DefineCMake
CMake Error at CMakeLists.txt:32 (include):
include could not find load file:
DefinePlatf
CMake Error at CMakeLists.txt:33 (include):
include could not find load file:
DefineCompi
CMake Error at CMakeLists.txt:34 (include):
include could not find load file:
DefineInsta
CMake Error at CMakeLists.txt:35 (include):
include could not find load file:
DefineOptio
CMake Error at CMakeLists.txt:36 (include):
include could not find load file:
CPackConfig
CMake Error at CMakeLists.txt:39 (include):
include could not find load file:
MacroEnsure
CMake Error at CMakeLists.txt:40 (macro_
Unknown CMake command "macro_
-- Configuring incomplete, errors occurred!
Please help...
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ashok Kumar for more information if necessary.