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.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to