Rather than building it from source, you could simply download the pre-built binaries for the Mac. They work on 10.4.<div><br><br><div class="gmail_quote">On Wed, Mar 9, 2011 at 12:56 PM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">How did you configure it? With a previous successful build of CMake or with ./bootstrap or ./configure?<div><div></div>
<div class="h5"><br><br><div><br><div class="gmail_quote">On Wed, Mar 9, 2011 at 12:38 PM, Olivier Cessenat <span dir="ltr">&lt;<a href="mailto:cessenat@free.fr" target="_blank">cessenat@free.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I downloaded cmake-2.8.4 and also cmake-2.8.3 &quot;Unix sources&quot; and tried<br>
to compile it for Mac OS-X 10.4.<br>
<br>
I get the following error:<br>
&lt;&lt;<br>
[  3%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/IOStream.o<br>
[  3%] Building CXX object<br>
Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.o<br>
Linking CXX static library libcmsys.a<br>
ar: temporary file: No such file or directory<br>
make[2]: *** [Source/kwsys/libcmsys.a] Error 1<br>
make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2<br>
make: *** [all] Error 2<br>
[  3%] Built target cmsys<br>
Scanning dependencies of target cmsysTestDynload<br>
[  4%] Building C object<br>
Source/kwsys/CMakeFiles/cmsysTestDynload.dir/testDynload.o<br>
Linking C shared module libcmsysTestDynload.so<br>
[  4%] Built target cmsysTestDynload<br>
Scanning dependencies of target cmsys_c<br>
[  4%] Building C object<br>
Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.o<br>
[  4%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.o<br>
[  4%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/MD5.o<br>
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Terminal.o<br>
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/System.o<br>
[  5%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/String.o<br>
Linking C static library libcmsys_c.a<br>
ar: temporary file: No such file or directory<br>
make[2]: *** [Source/kwsys/libcmsys_c.a] Error 1<br>
make[1]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/all] Error 2<br>
make: *** [all] Error 2<br>
&gt;&gt;<br>
It used to be OK with 2.8.0.<br>
<br>
Is there anything I missed ?<br>
If I do a &quot;make VERBOSE=1&quot; I get:<br>
&lt;&lt;<br>
make -f Source/kwsys/CMakeFiles/cmsysTestProcess.dir/build.make<br>
Source/kwsys/CMakeFiles/cmsysTestProcess.dir/build<br>
/Users/cessenat/temp/cmake-2.8.4/Bootstrap.cmk/cmake -E<br>
cmake_progress_report /Users/cessenat/temp/cmake-2.8.4/CMakeFiles<br>
[  5%] Building C object<br>
Source/kwsys/CMakeFiles/cmsysTestProcess.dir/testProcess.o<br>
cd /Users/cessenat/temp/cmake-2.8.4/Source/kwsys &amp;&amp; /usr/bin/gcc<br>
-DKWSYS_NAMESPACE=cmsys -I/Users/cessenat/temp/cmake-2.8.4/Source<br>
-I/Users/cessenat/temp/cmake-2.8.4/Source/kwsys   -O0 -o<br>
CMakeFiles/cmsysTestProcess.dir/testProcess.o<br>
-c /Users/cessenat/temp/cmake-2.8.4/Source/kwsys/testProcess.c<br>
Linking C executable cmsysTestProcess<br>
cd /Users/cessenat/temp/cmake-2.8.4/Source/kwsys<br>
&amp;&amp; /Users/cessenat/temp/cmake-2.8.4/Bootstrap.cmk/cmake -E<br>
cmake_link_script CMakeFiles/cmsysTestProcess.dir/link.txt --verbose=1<br>
/usr/bin/gcc   -Wl,-search_paths_first -Wl,-headerpad_max_install_names<br>
CMakeFiles/cmsysTestProcess.dir/testProcess.o  -o cmsysTestProcess<br>
libcmsys_c.a<br>
/usr/bin/ld: warning empty archive: libcmsys_c.a (can&#39;t load from it)<br>
/usr/bin/ld: Undefined symbols:<br>
_cmsysProcess_Delete<br>
_cmsysProcess_Disown<br>
_cmsysProcess_Execute<br>
_cmsysProcess_GetErrorString<br>
_cmsysProcess_GetExceptionString<br>
_cmsysProcess_GetExitException<br>
_cmsysProcess_GetExitValue<br>
_cmsysProcess_GetState<br>
_cmsysProcess_Kill<br>
_cmsysProcess_New<br>
_cmsysProcess_SetCommand<br>
_cmsysProcess_SetOption<br>
_cmsysProcess_SetPipeShared<br>
_cmsysProcess_SetTimeout<br>
_cmsysProcess_WaitForData<br>
_cmsysProcess_WaitForExit<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [Source/kwsys/cmsysTestProcess] Error 1<br>
make[1]: *** [Source/kwsys/CMakeFiles/cmsysTestProcess.dir/all] Error 2<br>
make: *** [all] Error 2<br>
&gt;&gt;<br>
I tried an ll which shows the archive has a problem<br>
&lt;&lt;<br>
mac:~/temp/cmake-2.8.4 cessenat$ ll ./Source/kwsys/libcmsys_c.a<br>
-rw-r--r--   1 cessenat  users  8 Mar  9<br>
18:22 ./Source/kwsys/libcmsys_c.a<br>
&gt;&gt;<br>
whereas the 2.8.0 was OK:<br>
&lt;&lt;<br>
mac:~/temp/cmake-2.8.4 cessenat$<br>
ll /nfs/iliana/cessenat/VISITCOMPIL/2.1.0/mac/cmake-2.8.0/Source/kwsys/libcmsys_c.a<br>
-rw-r--r--   1 cessenat  users  42756 Nov 12<br>
10:49 /nfs/iliana/cessenat/VISITCOMPIL/2.1.0/mac/cmake-2.8.0/Source/kwsys/libcmsys_c.a<br>
&gt;&gt;<br>
I need a new release for visit 2.2.1.<br>
<br>
Thanks for your help, I&#39;m stuck right now.<br>
<br>
Cheers,<br>
<br>
Olivier Cessenat.<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>