[CMake] Problem running cmake 2.8.4 on Ubuntu 10.04

pellegrini pellegrini at ill.fr
Wed Jul 6 05:36:11 EDT 2011


Hello everybody,

I have troubles running cmake 2.8.4 on my ubuntu 10.04 machine.
I must use that version because of a bug fix concerning rc files.

When running cmake, I get the following error message:

##################################################################

-- The Fortran compiler identification is Intel
-- Check for working Fortran compiler: /home/pellegrini/bin/ifort
-- Check for working Fortran compiler: /home/pellegrini/bin/ifort  -- works
-- Detecting Fortran compiler ABI info
CMake Error at 
/home/pellegrini/Downloads/cmake-2.8.4-Linux-i386/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 
(TRY_COMPILE):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    
'/home/pellegrini/Diffraction/crysfml/build/ifort_release_win/CMakeFiles/CMakeDetermineCompilerABI_Fortran.bin'

  Unable to find the executable at any of:

    
/home/pellegrini/Diffraction/crysfml/build/ifort_release_win/CMakeFiles/CMakeTmp/cmTryCompileExec
    
/home/pellegrini/Diffraction/crysfml/build/ifort_release_win/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec
    
/home/pellegrini/Diffraction/crysfml/build/ifort_release_win/CMakeFiles/CMakeTmp/Development/cmTryCompileExec

Call Stack (most recent call first):
  
/home/pellegrini/Downloads/cmake-2.8.4-Linux-i386/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:59 
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:73 (PROJECT)


-- Detecting Fortran compiler ABI info - done
CMake Error at 
/home/pellegrini/Downloads/cmake-2.8.4-Linux-i386/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:48 
(FILE):
  file STRINGS file
  
"/home/pellegrini/Diffraction/crysfml/build/ifort_release_win/CMakeFiles/CMakeDetermineCompilerABI_Fortran.bin"
  cannot be read.
Call Stack (most recent call first):
  
/home/pellegrini/Downloads/cmake-2.8.4-Linux-i386/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:59 
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:73 (PROJECT)


-- Checking whether /home/pellegrini/bin/ifort supports Fortran 90
-- Checking whether /home/pellegrini/bin/ifort supports Fortran 90 -- yes
-- Configuring incomplete, errors occurred!

##################################################################

The same settings work well on my windows machine ...

would you have any idea ?

thans in advance

Eric

-- 
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France



More information about the CMake mailing list