Hello,
I'm trying to get gizmod installed so I can use a Griffin Powermate on my 10.04 system. The ubuntu repos contain gizmod 3.4 which is broken. I need 3.5 so I'm compiling from source.
I'm following the instructions here to compile. I get to the step which uses cmake:
Code:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc ../../gizmod
and this results in the following errors:
Code:
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/chris/tmp/gizmod-3.5/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/home/chris/tmp/gizmod-3.5/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/chris/tmp/gizmod-3.5/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
/home/chris/tmp/gizmod-3.5/build/CMakeFiles/CMakeTmp/testCCompiler.c
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[1]: Leaving directory
`/home/chris/tmp/gizmod-3.5/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:24 (project)
-- Configuring incomplete, errors occurred!
This output is Greek to me. What is causing cmake to fail?
Bookmarks