Hi, I managed to compile cmake-2.8.3 using the pre-built binary for Mac release 2.8.4. I failed to do it through nfs though. It seems a bit awkward to me to have to do such a tricky thing ! Cheers, Olivier Cessenat.
Le mercredi 09 mars 2011 à 21:01 +0100, Olivier Cessenat a écrit : > Le mercredi 09 mars 2011 à 12:57 -0500, David Cole a écrit : > > Rather than building it from source, you could simply download the > > pre-built binaries for the Mac. They work on 10.4. > > Thanks for the hint; I have to make that work with the VisIt > installation process - using 2.8.3 right now. > > > > > > On Wed, Mar 9, 2011 at 12:56 PM, David Cole <[email protected]> > > wrote: > > How did you configure it? With a previous successful build of > > CMake or with ./bootstrap or ./configure? > > > > > > > > > > On Wed, Mar 9, 2011 at 12:38 PM, Olivier Cessenat > > <[email protected]> wrote: > > Hello, > > > > I downloaded cmake-2.8.4 and also cmake-2.8.3 "Unix > > sources" and tried > > to compile it for Mac OS-X 10.4. > > > > I get the following error: > > << > > [ 3%] Building CXX object > > Source/kwsys/CMakeFiles/cmsys.dir/IOStream.o > > [ 3%] Building CXX object > > Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.o > > Linking CXX static library libcmsys.a > > ar: temporary file: No such file or directory > > make[2]: *** [Source/kwsys/libcmsys.a] Error 1 > > make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] > > Error 2 > > make: *** [all] Error 2 > > [ 3%] Built target cmsys > > Scanning dependencies of target cmsysTestDynload > > [ 4%] Building C object > > Source/kwsys/CMakeFiles/cmsysTestDynload.dir/testDynload.o > > Linking C shared module libcmsysTestDynload.so > > [ 4%] Built target cmsysTestDynload > > Scanning dependencies of target cmsys_c > > [ 4%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.o > > [ 4%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.o > > [ 4%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/MD5.o > > [ 5%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/Terminal.o > > [ 5%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/System.o > > [ 5%] Building C object > > Source/kwsys/CMakeFiles/cmsys_c.dir/String.o > > Linking C static library libcmsys_c.a > > ar: temporary file: No such file or directory > > make[2]: *** [Source/kwsys/libcmsys_c.a] Error 1 > > make[1]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/all] > > Error 2 > > make: *** [all] Error 2 > > >> > > It used to be OK with 2.8.0. > > > > Is there anything I missed ? > > If I do a "make VERBOSE=1" I get: > > << > > make -f > > Source/kwsys/CMakeFiles/cmsysTestProcess.dir/build.make > > Source/kwsys/CMakeFiles/cmsysTestProcess.dir/build > > /Users/cessenat/temp/cmake-2.8.4/Bootstrap.cmk/cmake > > -E > > cmake_progress_report > > /Users/cessenat/temp/cmake-2.8.4/CMakeFiles > > [ 5%] Building C object > > Source/kwsys/CMakeFiles/cmsysTestProcess.dir/testProcess.o > > cd /Users/cessenat/temp/cmake-2.8.4/Source/kwsys > > && /usr/bin/gcc > > -DKWSYS_NAMESPACE=cmsys > > -I/Users/cessenat/temp/cmake-2.8.4/Source > > -I/Users/cessenat/temp/cmake-2.8.4/Source/kwsys -O0 > > -o > > CMakeFiles/cmsysTestProcess.dir/testProcess.o > > -c > > /Users/cessenat/temp/cmake-2.8.4/Source/kwsys/testProcess.c > > Linking C executable cmsysTestProcess > > cd /Users/cessenat/temp/cmake-2.8.4/Source/kwsys > > && /Users/cessenat/temp/cmake-2.8.4/Bootstrap.cmk/cmake -E > > cmake_link_script > > CMakeFiles/cmsysTestProcess.dir/link.txt --verbose=1 > > /usr/bin/gcc -Wl,-search_paths_first > > -Wl,-headerpad_max_install_names > > CMakeFiles/cmsysTestProcess.dir/testProcess.o -o > > cmsysTestProcess > > libcmsys_c.a > > /usr/bin/ld: warning empty archive: libcmsys_c.a > > (can't load from it) > > /usr/bin/ld: Undefined symbols: > > _cmsysProcess_Delete > > _cmsysProcess_Disown > > _cmsysProcess_Execute > > _cmsysProcess_GetErrorString > > _cmsysProcess_GetExceptionString > > _cmsysProcess_GetExitException > > _cmsysProcess_GetExitValue > > _cmsysProcess_GetState > > _cmsysProcess_Kill > > _cmsysProcess_New > > _cmsysProcess_SetCommand > > _cmsysProcess_SetOption > > _cmsysProcess_SetPipeShared > > _cmsysProcess_SetTimeout > > _cmsysProcess_WaitForData > > _cmsysProcess_WaitForExit > > collect2: ld returned 1 exit status > > make[2]: *** [Source/kwsys/cmsysTestProcess] Error 1 > > make[1]: *** > > [Source/kwsys/CMakeFiles/cmsysTestProcess.dir/all] > > Error 2 > > make: *** [all] Error 2 > > >> > > I tried an ll which shows the archive has a problem > > << > > mac:~/temp/cmake-2.8.4 cessenat$ > > ll ./Source/kwsys/libcmsys_c.a > > -rw-r--r-- 1 cessenat users 8 Mar 9 > > 18:22 ./Source/kwsys/libcmsys_c.a > > >> > > whereas the 2.8.0 was OK: > > << > > mac:~/temp/cmake-2.8.4 cessenat$ > > ll > > /nfs/iliana/cessenat/VISITCOMPIL/2.1.0/mac/cmake-2.8.0/Source/kwsys/libcmsys_c.a > > -rw-r--r-- 1 cessenat users 42756 Nov 12 > > 10:49 > > /nfs/iliana/cessenat/VISITCOMPIL/2.1.0/mac/cmake-2.8.0/Source/kwsys/libcmsys_c.a > > >> > > I need a new release for visit 2.2.1. > > > > Thanks for your help, I'm stuck right now. > > > > Cheers, > > > > Olivier Cessenat. > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the CMake FAQ > > at: http://www.cmake.org/Wiki/CMake_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.cmake.org/mailman/listinfo/cmake > > > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
