[CMake] can't build on Intel-based 10.4.8

Mike Jackson imikejackson at gmail.com
Tue Sep 11 15:28:44 EDT 2007


I do not remember having problems on 10.4.8 with Cmake..

Do you have the following:

Xcode 2.4.1 (latest at the moment)
OS X 10.4.9/10 ( You should update if at all possible)

HTH
--  
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Sep 11, 2007, at 2:36 PM, Mike Logan wrote:

>
> 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
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070911/e70995d8/attachment.htm


More information about the CMake mailing list