[CMake] Fw: cmake error
Siamak Yousefi
syousefy at yahoo.com
Fri Aug 7 11:43:51 EDT 2009
Hi,
I checked the access to /home/syouse/ITKb/CMakeFiles/CMakeTmp, it has the permission of writing. This "/usr/bin/gcc" is the path to gcc and g++. My shell is c shell. I run these three commands before configuring ITK:
setenv PATH "${PATH}:/home/syouse/cmake/bin"
setenv CC /usr/bin/gcc
setenv CXX /usr/bin/g++
Thanks for your time.
Siamak
________________________________
From: Tyler Roscoe <tyler at cryptio.net>
To: Siamak Yousefi <syousefy at yahoo.com>
Cc: cmake <cmake at cmake.org>
Sent: Friday, August 7, 2009 10:25:30 AM
Subject: Re: [CMake] Fw: cmake error
On Fri, Aug 07, 2009 at 08:09:34AM -0700, Siamak Yousefi wrote:
> CMake Error at
> /home/syouse/cmake/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32
> (MESSAGE):
> The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
> It fails with the following output:
> Change Dir: /home/syouse/ITKb/CMakeFiles/CMakeTmp
>
>
> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
> CMakeFiles/cmTryCompileExec.dir/build
> gmake[1]: Entering directory `/mnt/sdb1/syouse/ITKb/CMakeFiles/CMakeTmp'
Do you have write access to /home/syouse/ITKb/CMakeFiles/CMakeTmp?
Is /usr/bin/gcc the correct path to your C compiler?
tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090807/0d335d5c/attachment-0001.htm>
More information about the CMake
mailing list