Re: [CMake] Fails for Solaris

2014-07-17 Thread Chuck Atkins
Hi Amos,

Although I'm ure it's *possible*, I'd be surprised if changing the compiler
made any difference.  A few questions would help narrow down the issue:

   - Which source are you building from?  Is it the 3.0.0 release tgz or is
   it a particular git hash?
   - Are you doing an in-source build (not recommended) or an out-of-source
   build (recommended)?
   - What's the exact build command you're using?

Thanks
- Chuck


On Wed, Jul 16, 2014 at 7:37 PM, Amos a.go...@gmail.com wrote:

 Thanks for the reply.

 I tried with both gcc-4.8.3 and Studio 12.1.  Maybe I'll try updating
 SolarisStudio.




 On Wed, Jul 16, 2014 at 10:20 AM, Chuck Atkins chuck.atk...@kitware.com
 wrote:

 Amos,

 I just tried on a Sun Blade 1500 running Solaris 10 8/11 with an
 UltraSPARC IIIi using SolarisStudio 12.2 and 12.3.  Both were able to
 configure and build successfully using both the bootstrap, 
 /path/to/source/bootstrap
  gmake, and and cmake, cmake /path/to/source  gmake, so it can be
 done:

 -
 CMake 3.0.0, Copyright 2000-2014 Kitware, Inc.
 C compiler on this system is: /opt/solarisstudio12.3/bin/suncc
 C++ compiler on this system is: /opt/solarisstudio12.3/bin/sunCC
 Makefile processor on this system is: gmake
 /opt/solarisstudio12.3/bin/sunCC is not GNU compiler
 ...
 /opt/solarisstudio12.3/bin/sunCC has ANSI for scoping

 -
 gmake: `cmake' is up to date.
 loading initial cache file
 /export/home/local/KHQ/chuck.atkins/Code/CMake/build/v3.0.0/sunpro_bootstrap/Bootstrap.cmk/InitialCacheFlags.cmake
 -- Configuring done
 -- Generating done
 -- Build files have been written to:
 /export/home/local/KHQ/chuck.atkins/Code/CMake/build/v3.0.0/sunpro_bootstrap
 -
 CMake has bootstrapped.  Now run gmake.

 That being said however, this is clearly not working for you.  What
 particular versions of compilers and Solaris are you using?  Are you using
 the 3.0.0 tarball or are you using a git checkout of a specific hash?


 - Chuck


 On Tue, Jul 15, 2014 at 1:06 PM, Amos a.go...@gmail.com wrote:

  No matter if I use GNU or workshop compilers, the initial config fails:

 CC supports member templates
 CC has standard template specialization syntax
 CC has argument dependent lookup
 CC has struct stat with st_mtim member
 CC has ios::binary openmode
 CC has ANSI for scoping
 -
 gmake: 'cmake' is up to date.
 loading initial cache file
 /usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Bootstrap.cmk/InitialCacheFlags.cmake
 -- Using system-installed BZIP2
 -- Using system-installed ZLIB
 CMake Error: File
 /usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Tests/.NoDartCoverage
 does not exist.
 CMake Error at CMakeLists.txt:161 (configure_file):
   configure_file Problem configuring file
 Call Stack (most recent call first):
   CMakeLists.txt:527 (CMAKE_SETUP_TESTING)


 --

 Powered by www.kitware.com

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Kitware offers various services to support the CMake community. For more
 information on each offering, please visit:

 CMake Support: http://cmake.org/cmake/help/support.html
 CMake Consulting: http://cmake.org/cmake/help/consulting.html
 CMake Training Courses: http://cmake.org/cmake/help/training.html

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/cmake




-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Re: [CMake] Fails for Solaris

2014-07-16 Thread Chuck Atkins
Amos,

I just tried on a Sun Blade 1500 running Solaris 10 8/11 with an UltraSPARC
IIIi using SolarisStudio 12.2 and 12.3.  Both were able to configure and
build successfully using both the bootstrap, /path/to/source/bootstrap 
gmake, and and cmake, cmake /path/to/source  gmake, so it can be done:

-
CMake 3.0.0, Copyright 2000-2014 Kitware, Inc.
C compiler on this system is: /opt/solarisstudio12.3/bin/suncc
C++ compiler on this system is: /opt/solarisstudio12.3/bin/sunCC
Makefile processor on this system is: gmake
/opt/solarisstudio12.3/bin/sunCC is not GNU compiler
...
/opt/solarisstudio12.3/bin/sunCC has ANSI for scoping
-
gmake: `cmake' is up to date.
loading initial cache file
/export/home/local/KHQ/chuck.atkins/Code/CMake/build/v3.0.0/sunpro_bootstrap/Bootstrap.cmk/InitialCacheFlags.cmake
-- Configuring done
-- Generating done
-- Build files have been written to:
/export/home/local/KHQ/chuck.atkins/Code/CMake/build/v3.0.0/sunpro_bootstrap
-
CMake has bootstrapped.  Now run gmake.

That being said however, this is clearly not working for you.  What
particular versions of compilers and Solaris are you using?  Are you using
the 3.0.0 tarball or are you using a git checkout of a specific hash?


- Chuck


On Tue, Jul 15, 2014 at 1:06 PM, Amos a.go...@gmail.com wrote:

 No matter if I use GNU or workshop compilers, the initial config fails:

 CC supports member templates
 CC has standard template specialization syntax
 CC has argument dependent lookup
 CC has struct stat with st_mtim member
 CC has ios::binary openmode
 CC has ANSI for scoping
 -
 gmake: 'cmake' is up to date.
 loading initial cache file
 /usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Bootstrap.cmk/InitialCacheFlags.cmake
 -- Using system-installed BZIP2
 -- Using system-installed ZLIB
 CMake Error: File
 /usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Tests/.NoDartCoverage
 does not exist.
 CMake Error at CMakeLists.txt:161 (configure_file):
   configure_file Problem configuring file
 Call Stack (most recent call first):
   CMakeLists.txt:527 (CMAKE_SETUP_TESTING)


 --

 Powered by www.kitware.com

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Kitware offers various services to support the CMake community. For more
 information on each offering, please visit:

 CMake Support: http://cmake.org/cmake/help/support.html
 CMake Consulting: http://cmake.org/cmake/help/consulting.html
 CMake Training Courses: http://cmake.org/cmake/help/training.html

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/cmake

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

[CMake] Fails for Solaris

2014-07-15 Thread Amos
No matter if I use GNU or workshop compilers, the initial config fails:

CC supports member templates
CC has standard template specialization syntax
CC has argument dependent lookup
CC has struct stat with st_mtim member
CC has ios::binary openmode
CC has ANSI for scoping
-
gmake: 'cmake' is up to date.
loading initial cache file
/usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Bootstrap.cmk/InitialCacheFlags.cmake
-- Using system-installed BZIP2
-- Using system-installed ZLIB
CMake Error: File
/usr/soft/that/cmake-3.0.0/src/default/sparcv9_sun_solaris2.10/Tests/.NoDartCoverage
does not exist.
CMake Error at CMakeLists.txt:161 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:527 (CMAKE_SETUP_TESTING)
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake