Bug Tracker item #3512468, was opened at 2012-03-28 09:53 Message generated for change (Comment added) made by hramrach You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3512468&group_id=254363
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michal Suchanek (hramrach) Assigned to: Nobody/Anonymous (nobody) Summary: trunk fails crossbuilding Initial Comment: /scratch/tigerbin $ sh -x buildscript + CC=i686-w64-mingw32-gcc + CXX=i686-w64-mingw32-g++ + RC=i686-w64-mingw32-windres + cmake -G 'Unix Makefiles' -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_AR=i686-w64-mingw32-ar -DCMAKE_RANLIB=i686-w64-mingw32-ranlib ../tigervnc/trunk Re-run cmake no build system arguments -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/i686-w64-mingw32-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /scratch/tigerbin/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 `/scratch/tigerbin/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /scratch/tigerbin/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj /usr/bin/i686-w64-mingw32-gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c /scratch/tigerbin/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec.exe /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec.dir/objects.a /scratch/tigerbin/i686-w64-mingw32-ar cr CMakeFiles/cmTryCompileExec.dir/objects.a @CMakeFiles/cmTryCompileExec.dir/objects1.rsp Error running link command: No such file or directory make[1]: *** [cmTryCompileExec.exe] Error 2 make[1]: Leaving directory `/scratch/tigerbin/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:20 (project) -- Configuring incomplete, errors occurred! + make make: *** No targets specified and no makefile found. Stop. ---------------------------------------------------------------------- >Comment By: Michal Suchanek (hramrach) Date: 2012-03-29 05:03 Message: It is in the system path, and I provided no path. While cmake can locate gcc properly this way it cannot locate ar. It prepends the build directory path to the executable name. I am not sure why the recipe uses environment variables for some programs and cmake variables for others. ---------------------------------------------------------------------- Comment By: Pierre Ossman (ossman_) Date: 2012-03-29 00:11 Message: Looks like a general CMake issue. It cannot execute i686-w64-mingw32-ar. Is that the proper path to it? Otherwise you might want to try giving it a full path. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3512468&group_id=254363 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel