<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>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:</DIV>
<DIV> </DIV>
<DIV>setenv PATH "${PATH}:/home/syouse/cmake/bin"</DIV>
<DIV>setenv CC /usr/bin/gcc</DIV>
<DIV>setenv CXX /usr/bin/g++</DIV>
<DIV> </DIV>
<DIV>Thanks for your time.</DIV>
<DIV> </DIV>
<DIV>Siamak<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Tyler Roscoe <tyler@cryptio.net><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Siamak Yousefi <syousefy@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> cmake <cmake@cmake.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, August 7, 2009 10:25:30 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [CMake] Fw: cmake error<BR></FONT><BR>On Fri, Aug 07, 2009 at 08:09:34AM -0700, Siamak Yousefi wrote:<BR>> CMake Error at<BR>> /home/syouse/cmake/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32<BR>> (MESSAGE):<BR>> The C compiler "/usr/bin/gcc" is not able to compile a simple test program.<BR>> It fails with the following output:<BR>> Change Dir: /home/syouse/ITKb/CMakeFiles/CMakeTmp<BR>> <BR>> <BR>> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"<BR>> /usr/bin/gmake -f
CMakeFiles/cmTryCompileExec.dir/build.make<BR>> CMakeFiles/cmTryCompileExec.dir/build<BR>> gmake[1]: Entering directory `/mnt/sdb1/syouse/ITKb/CMakeFiles/CMakeTmp'<BR><BR>Do you have write access to /home/syouse/ITKb/CMakeFiles/CMakeTmp?<BR><BR>Is /usr/bin/gcc the correct path to your C compiler?<BR><BR>tyler<BR></DIV></DIV></div><br>
</body></html>