The build is done with the following environment settings: /usr/bin/cc -64 -T 128000000 using Scons.
We have been building CMake this way for the last several versions. Our last build of cmake (2.0.6) works well and we are able to build ParaView, VTK ... I have compiled and tried CMake 2.2.3 and the cvs CMake. When attempting to build ParaView with ccmake, cmake fails after I hit the “c “ key. I get the following error: The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/IRIX64/bin/cmake -H/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp -B/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/gnu/bin/gmake -f CMakeFiles/Makefile2 cmTryCompileExec gmake[1]: Entering directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/IRIX64/bin/cmake -H/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp -B/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/gnu/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all gmake[2]: Entering directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' /usr/gnu/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/depend gmake[3]: Entering directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' Scanning dependencies of target cmTryCompileExec /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/IRIX64/bin/cmake -E cmake_depends "Unix Makefiles" /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/Depend Info.cmake gmake[3]: Leaving directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' /usr/gnu/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[3]: Entering directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o /usr/bin/cc -64;-T;128000000 -64 -T 128000000 -64 -T 128000000 -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp/testCCompiler.c cc ERROR: no source or object file given /bin/sh: -T: not found /bin/sh: 128000000: not found gmake[3]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 127 gmake[3]: Leaving directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' gmake[2]: *** [CMakeFiles/cmTryCompileExec.dir/all] Error 2 gmake[2]: Leaving directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' gmake[1]: Leaving directory `/vis/jrenteri/ICE_TEST/ICE.01.24.06/build/Paraview-IRIX64/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec] Error 2 CMake will not be able to correctly generate this project. Jose -----Original Message----- From: William A. Hoffman [mailto:[EMAIL PROTECTED] Sent: Wed 1/25/2006 8:23 AM To: Renteria, Jose (Cont, ARL/CISD); [email protected] Cc: Subject: Re: [CMake] cmake 2.3.2 nor latest cvs work on Irix At 04:04 PM 1/24/2006, Renteria, Jose (Cont, ARL/CISD) wrote: >Hi, > >The latest version of cmake fails. I am attempting to build an IRIX version >of ParaView and VTK I get the following error below: > >The C compiler "/usr/bin/cc" is not able to compile a simple test program >... make[3]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 127 >CMake will not be able to correctly generate this project. > >However, if I use cmake (2.0.6) all works well. Also the latest version of >CMake does not have this problem on Linux. > >Sometime ago a similar cmake error was posted and it seemed to fixed via a cvs >update. That does not seem to be the case for me. Any ideas? > >Thanks, Can you describe what versions of CMake you have tried? I assume that 2.3.2 is really 2.2.3. Have you also tried cvs CMake? If so, how did you build CMake, if CMake is not working? -Bill _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
