[CMake] Porting cmake to OS/390

Magnus Sirwiö sirwio at hotmail.com
Thu Dec 7 02:18:19 EST 2006


Hi,

I'm trying to bootstrap cmake on a OS/390 mainframe. I have succeeded so far 
that the cmake executable is created in the Bootstrap.cmk folder but the 
actual bootstrapping of cmake itself fails.

Attached are two logfiles. The first is from the bootstap and the other is 
from the bootstrapping of cmake that fails.

Any hints are welcome!

- Magnus

---- ./bootstrap output
CMake 2.4-3, Copyright (c) 2006 Kitware, Inc., Insight Consortium
C compiler on this system is: c89 -D_XOPEN_SOURCE -D_ALL_SOURCE
C++ compiler on this system is: c++ -D_XOPEN_SOURCE -D_ALL_SOURCE
Makefile processor on this system is: gmake
c++ is not GNU compiler
c++ has STL in std:: namespace
c++ has ANSI streams
c++ has streams in std:: namespace
c++ has sstream
c++ has operator!=(string, char*)
c++ has stl iterator_traits
c++ has standard template allocator
c++ has allocator<>::rebind<>
c++ does not have non-standard allocator<>::max_size argument
c++ has stl containers supporting allocator objects
c++ has header cstddef
c++ requires template friends to use <>
c++ supports member templates
c++ has standard template specialization syntax
c++ has argument dependent lookup
c++ does not have struct stat with st_mtim member
c++ has ANSI for scoping
---------------------------------------------
gmake: `cmake' is up to date.
-- Configuring done
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------



-----  Bootstrapping cmake output
IBMUSER:/code/cmake/cmake-2.4.3: > Bootstrap.cmk/cmake . 
-C"Bootstrap.cmk/InitialCacheFlags.cmake" -G"Unix Makefiles"
loading initial cache file Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error: Error in cmake code at
/code/cmake/cmake-2.4.3/Bootstrap.cmk/InitialCacheFlags.cmake:1:
Parse error.  Expected a command name, got unquoted argument with text "# 
Generated by /code/cmake/cmake-2.4.3/bootstrap
# Default cmake settings.  These may be overridden any settings below.
SET (CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Install path prefix, 
prepended onto install directories." FORCE)
SET (CMAKE_DOC_DIR "/doc/CMake" CACHE PATH "Install location for 
documentation (relative to prefix)." FORCE)
SET (CMAKE_MAN_DIR "/man" CACHE PATH "Install location for man pages 
(relative to prefix)." FORCE)
SET (CMAKE_DATA_DIR "/share/CMake" CACHE PATH "Install location for data 
(relative to prefix)." FORCE)
".
CMake Error: Error in cmake code at
/code/cmake/cmake-2.4.3/CMakeLists.txt:1:
Parse error.  Expected a command name, got unquoted argument with text 
"PROJECT(CMake)
CMAKE_MINIMUM_REQUIRED(VERSION 2.0)
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)

# The CMake version number.
SET(CMake_VERSION_MAJOR 2)
SET(CMake_VERSION_MINOR 4)
SET(CMake_VERSION_PATCH 3)
SET(CMake_VERSION "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}")
...
...

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



More information about the CMake mailing list