[CMake] can't build on Intel-based 10.4.8
Mike Logan
mlogan at mail.arc.nasa.gov
Tue Sep 11 14:36:44 EDT 2007
Hi, I'm new to cmake, but haven't found anything on this problem
via google on cmake faqs..
I wondered if there is a work-around for a problem build on Intel-OSX
where it can't bootstrap due to st_mtim not being in the stat
struct.
E.g. maybe force the unsetting of "cmsys_STAT_HAS_ST_MTIM" ?
I'm using 2.4-7
thanks,
ml
% ./bootstrap
---------------------------------------------
CMake 2.4-7, Copyright (c) 2006 Kitware, Inc., Insight Consortium
C compiler on this system is: cc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use <>
g++ supports member templates
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ does not have struct stat with st_mtim member
g++ has ANSI for scoping
---------------------------------------------
g++ -I/Volumes/vault/cmake-2.4.7/Source -I/Volumes/vault/
cmake-2.4.7/Bootstrap.cmk -c /Volumes/vault/cmake-2.4.7/Source/
cmFileTimeComparison.cxx -o cmFileTimeComparison.o
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx: In member
function 'int cmFileTimeComparisonInternal::Compare(stat*, stat*)':
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:133:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:133:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:137:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:137:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:141:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:141:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:145:
error: 'struct stat' has no member named 'st_mtim'
/Volumes/vault/cmake-2.4.7/Source/cmFileTimeComparison.cxx:145:
error: 'struct stat' has no member named 'st_mtim'
make: *** [cmFileTimeComparison.o] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /Volumes/vault/cmake-2.4.7/Bootstrap.cmk/
cmake_bootstrap.log
---------------------------------------------
Michael Logan
Perot Systems Govt. Services / NASA Ames Res. Ctr.
Task Lead / Visual Cueing & Simulation
Visualization Engineer / Adaptive Control Technologies
MS 269-1, Moffett Field, CA, 94035 (650)-604-4494
"If you want to start a revolution, don't pick up a gun.
Do it with science and technology." - Stanford R. Ovshinsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070911/b0b43d19/attachment-0001.html
More information about the CMake
mailing list