[CMake] Error when bootstrapping CMake (v. 2.8.12)

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 30 11:33:06 EDT 2013


On 10/29/2013 11:21 PM, Giuseppe Aprea wrote:
> Hi all,
>
> I am trying to install Cmake v. 2.8.12 but I receive the error in
> attachment (file mylog); the final part of the output is:

Looks like your compiler is broken:


-- Check for working C compiler: 
/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc
CMake Error at Modules/CMakeTestCCompiler.cmake:47 (try_compile):
   Unknown extension ".c" for file

 
/afs/.enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeTmp/testCCompiler.c


Can you compile a simple hello world program in c and c++ on this system 
without errors?

Also, looks like you might have a bunch of junk in CFLAGS and CXXFLAGS 
as your compile lines are huge:

-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//gcc/include;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//gmp/5.0.1/include;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//mpfr/2.4.2/include;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//mpc/0.8.2/include;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//zlib/1.2.5/include;;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//bzip2/1.0.6/include;;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//libtool/2.4.2/include;;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//readline/6.2/include;



-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list