[cmake-developers] [CMake 0015763]: Cannot find appropriate C compiler on this system
Mantis Bug Tracker
mantis at public.kitware.com
Fri Oct 2 03:52:17 EDT 2015
The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15763
======================================================================
Reported By: diaobk
Assigned To:
======================================================================
Project: CMake
Issue ID: 15763
Category: CMakeSetup
Reproducibility: have not tried
Severity: minor
Priority: high
Status: new
======================================================================
Date Submitted: 2015-10-02 03:52 EDT
Last Modified: 2015-10-02 03:52 EDT
======================================================================
Summary: Cannot find appropriate C compiler on this system
Description:
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)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-10-02 03:52 diaobk New Issue
======================================================================
More information about the cmake-developers
mailing list