MantisBT - CMake
View Issue Details
0015763CMakeCMakeSetuppublic2015-10-02 03:522015-10-02 04:01
diaobk 
 
normalminorhave not tried
closedno change required 
SUSE Linux 64
CMake 3.2.2 
 
0015763: Cannot find appropriate C compiler on this system
Error when bootstrapping CMake:
Cannot find appropriate C compiler on this system.
Please specify one using environment variable CC.
See cmake_bootstrap.log for compilers attempted.

---------------------------------------------
Log of errors: /home/kjlv/Software/cmake-3.2.2/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------------------------------------------
cmake_bootstrap.log says :
Try: icc
Line: icc cmake_bootstrap_16681_test.c -o cmake_bootstrap_16681_test
---------- file -----------------------

#ifdef __cplusplus
# error "The CMAKE_C_COMPILER is set to a C++ compiler"
#endif

#include<stdio.h>

#if defined(__CLASSIC_C__)
int main(argc, argv)
  int argc;
  char* argv[];
#else
int main(int argc, char* argv[])
#endif
{
  printf("%d%c", (argv != 0), (char)0x0a);
  return argc-1;
}

------------------------------------------
ld: final link failed: No space left on device
Test failed to compile

Change to gcc doesn't work.

 gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (SUSE Linux)


g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (SUSE Linux)


icc -v
icc version 13.1.0 (gcc version 4.1.2 compatibility)

 icpc -v
icpc version 13.1.0 (gcc version 4.1.2 compatibility)



No tags attached.
Issue History
2015-10-02 03:52diaobkNew Issue
2015-10-02 04:01Rolf Eike BeerNote Added: 0039497
2015-10-02 04:01Rolf Eike BeerPriorityhigh => normal
2015-10-02 04:01Rolf Eike BeerStatusnew => closed
2015-10-02 04:01Rolf Eike BeerResolutionopen => no change required

Notes
(0039497)
Rolf Eike Beer   
2015-10-02 04:01   
Clean your disk:

ld: final link failed: No space left on device
Test failed to compile