[CMake] Re: CMake Digest, Vol 40, Issue 9
Bill Hoffman
bill.hoffman at kitware.com
Thu Aug 2 14:16:59 EDT 2007
Seth Grover wrote:
>> Please run "make VERBOSE=1" then we will see more.
>>
>> Alex
>>
>>
>
> BTW, the last email I sent about the bootstrap output being shorter
> than in linux, disregard that, I wasn't looking at the output of
> running it the first time.
>
> Okay, here's what I get from the verbose make output (I'll try to just
> include the relevant parts):
>
> ...
> [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/IOStream.o
> /usr/local/bin/g++ -I/export/home/nitrodev/tmp/cmake-2.4.7/Utilities
> -I/export/home/nitrodev/tmp/cmake-2.4.7/Source
> -I/export/home/nitrodev/tmp/cmake-2.4.7/Source/kwsys
> -DKWSYS_NAMESPACE=cmsys -o
> Source/kwsys/CMakeFiles/cmsys.dir/IOStream.o -c
> /export/home/nitrodev/tmp/cmake-2.4.7/Source/kwsys/IOStream.cxx
> Linking CXX static library libcmsys.a
> cd /export/home/nitrodev/tmp/cmake-2.4.7/Source/kwsys &&
> /export/home/nitrodev/tmp/cmake-2.4.7/Bootstrap.cmk/cmake -P
> CMakeFiles/cmsys.dir/cmake_clean_target.cmake
> cd /export/home/nitrodev/tmp/cmake-2.4.7/Source/kwsys &&
> /export/home/nitrodev/tmp/cmake-2.4.7/Bootstrap.cmk/cmake -E
> cmake_link_script CMakeFiles/cmsys.dir/link.txt --verbose=1
> CMAKE_AR-NOTFOUND cr libcmsys.a "CMakeFiles/cmsys.dir/ProcessUNIX.o"
> "CMakeFiles/cmsys.dir/Base64.o" "CMakeFiles/cmsys.dir/Terminal.o"
> "CMakeFiles/cmsys.dir/System.o" "CMakeFiles/cmsys.dir/Directory.o"
> "CMakeFiles/cmsys.dir/DynamicLoader.o" "CMakeFiles/cmsys.dir/Glob.o"
> "CMakeFiles/cmsys.dir/RegularExpression.o"
> "CMakeFiles/cmsys.dir/SystemTools.o"
> "CMakeFiles/cmsys.dir/CommandLineArguments.o"
> "CMakeFiles/cmsys.dir/Registry.o" "CMakeFiles/cmsys.dir/IOStream.o"
> Error running link command: No such file or directory
> make[2]: *** [Source/kwsys/libcmsys.a] Error 2
> make[2]: Leaving directory `/export/home/nitrodev/tmp/cmake-2.4.7'
> make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
> make[1]: Leaving directory `/export/home/nitrodev/tmp/cmake-2.4.7'
> make: *** [all] Error 2
> ...
>
> Thanks for the help, I really appreciate it.
>
The problem is here:
CMAKE_AR-NOTFOUND
CMake is unable to find the ar program used to create .a libraries. Did
you install one?
-Bill
More information about the CMake
mailing list