Hi there. I found out a very nice plugin for kopete, but it requires that i have kde 4.3.1, so i want to build from source to a OpenSuSE 11.1 x64. Already download the file from here, decompressed it and followed the README file. But when execute cmake …
cmake -DCMAKE_INSTALL_PREFIX=
kde4-config --prefi x
…
– The C compiler identification is GNU
– The CXX compiler identification is unknown
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
The C compiler “/usr/bin/gcc” is not able to compile a simple test program.It fails with the following output:
Change Dir: /tmp/kde4-kopete-protocol-skype-svn936483-1.61/kde4-kopete-protocol-skype-svn936483-1.61.src/kde4-kopete-protocol-skype-svn936483-1.61/skype/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake “cmTryCompileExec/fast”
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/buildgmake[1]: Entering directory
`/tmp/kde4-kopete-protocol-skype-svn936483-1.61/kde4-kopete-protocol-skype-svn936483-1.61.src/kde4-kopete-protocol-skype-svn936483-1.61/skype/build/CMakeFiles/CMakeTmp’/usr/bin/cmake -E cmake_progress_report
/tmp/kde4-kopete-protocol-skype-svn936483-1.61/kde4-kopete-protocol-skype-svn936483-1.61.src/kde4-kopete-protocol-skype-svn936483-1.61/skype/build/CMakeFiles/CMakeTmp/CMakeFiles
1Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
/tmp/kde4-kopete-protocol-skype-svn936483-1.61/kde4-kopete-protocol-skype-svn936483-1.61.src/kde4-kopete-protocol-skype-svn936483-1.61/skype/build/CMakeFiles/CMakeTmp/testCCompiler.cLinking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1/usr/bin/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o
cmTryCompileExec -rdynamic/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libc.so when searching for -lc/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libc.a when searching for -lc/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld:
cannot find -lccollect2: ld returned 1 exit status
gmake[1]: Leaving directory
`/tmp/kde4-kopete-protocol-skype-svn936483-1.61/kde4-kopete-protocol-skype-svn936483-1.61.src/kde4-kopete-protocol-skype-svn936483-1.61/skype/build/CMakeFiles/CMakeTmp’gmake[1]: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such ascmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run “cmake --help-policy CMP0000”.
This warning is for project developers. Use -Wno-dev to suppress it.– Configuring incomplete, errors occurred!
What should i do?
Thanks in advance