View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015763CMakeCMakeSetuppublic2015-10-02 03:522015-10-02 04:01
Reporterdiaobk 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformSUSE Linux 64OSOS Version
Product VersionCMake 3.2.2 
Target VersionFixed in Version 
Summary0015763: Cannot find appropriate C compiler on this system
DescriptionError 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)



TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039497)
Rolf Eike Beer (developer)
2015-10-02 04:01

Clean your disk:

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

 Issue History
Date Modified Username Field Change
2015-10-02 03:52 diaobk New Issue
2015-10-02 04:01 Rolf Eike Beer Note Added: 0039497
2015-10-02 04:01 Rolf Eike Beer Priority high => normal
2015-10-02 04:01 Rolf Eike Beer Status new => closed
2015-10-02 04:01 Rolf Eike Beer Resolution open => no change required


Copyright © 2000 - 2018 MantisBT Team