~/kde-mac/compile.build/strigi ~/kde-mac
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error: The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
/usr/bin/cmake -E cmake_progress_report /Users/tomaz/kde-mac/compile.build/strigi/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/usr/bin/gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /Users/tomaz/kde-mac/compile.build/strigi/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -P CMakeFiles/cmTryCompileExec.dir/cmake_clean_target.cmake
/usr/bin/gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -headerpad_max_install_names -fPIC -L/opt/kde4-deps/lib -L/opt/kde4/lib -L/opt/qt4/lib "CMakeFiles/cmTryCompileExec.dir/testCCompiler.o" -o cmTryCompileExec
/usr/bin/ld: warning -L: directory name (/opt/kde4/lib) does not exist
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_puts
collect2: ld returned 1 exit status
/usr/bin/ld: warning -L: directory name (/opt/kde4/lib) does not exist
lipo: can't open input file: /var/tmp//ccArpeIr.out (No such file or directory)
make[2]: *** [cmTryCompileExec] Error 1
make[1]: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
-- Configuring done
make: *** [dist] Error 255