Hello, This is my first time posting here.
My compilation of CMake failed on my system (Ubuntu 15.1/Wily with gcc 5.2.1). My configure claims that sstream is not there and the compilation failure seems to be related to this. I do have the gcc/g++ libraries installed ( … a locate libstdc++ shows them). I would like to try to get around this issue. I have put the relevant information below. Any help would be appreciated. SYSTEM ENVIRONMENT ------------------ gtst@system1:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily COMPILER ENVIRONMENT -------------------- gtst@system1:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) COMPILATION OUTPUT ------------------ /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1$ ./configure --------------------------------------------- CMake 2.8.12.1, Copyright 2000-2012 Kitware, Inc. Found GNU toolchain C compiler on this system is: gcc C++ compiler on this system is: g++ Makefile processor on this system is: gmake g++ is GNU compiler g++ has setenv g++ has unsetenv g++ does not have environ in stdlib.h g++ has STL in std:: namespace g++ has ANSI streams g++ has streams in std:: namespace g++ does not have sstream g++ does not have strstream.h g++ does not have strstrea.h g++ does not have 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++ has struct stat with st_mtim member g++ has ios::binary openmode g++ has ANSI for scoping --------------------------------------------- In file included from /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Source/cmDocumentVariables.cxx:4:0: /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Bootstrap.cmk/cmsys/ios/sstream: In member function ‘void cmsys_ios::istringstream::clear(int)’: /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Bootstrap.cmk/cmsys/ios/sstream:176:34: error: invalid conversion from ‘int’ to ‘std::ios_base::iostate {aka std::_Ios_Iostate}’ [-fpermissive] this->IStrStream::clear(flags); ^ In file included from /usr/include/c++/5/bits/basic_ios.h:516:0, from /usr/include/c++/5/ios:44, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Source/cmStandardIncludes.h:84, from /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Source/cmSystemTools.h:15, from /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Source/cmake.h:16, from /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Source/cmDocumentVariables.cxx:2: /usr/include/c++/5/bits/basic_ios.tcc:41:5: note: initializing argument 1 of ‘void std::basic_ios<_CharT, _Traits>::clear(std::ios_base::iostate) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::iostate = std::_Ios_Iostate]’ basic_ios<_CharT, _Traits>::clear(iostate __state) ^ Makefile:126: recipe for target 'cmDocumentVariables.o' failed gmake: *** [cmDocumentVariables.o] Error 1 --------------------------------------------- Error when bootstrapping CMake: Problem while running gmake --------------------------------------------- Log of errors: /home/gtst/devcode/os/buildroot/buildroot-2014.02/output/build/host-cmake-2.8.12.1/Bootstrap.cmk/cmake_bootstrap.log ##### ----------- * Amalaye Oyake * * Instrument Product Software Development Group */\ * * Jet Propulsion Laboratory, Pasadena *|| * * CA 91109 818.393.7168 work 626.399.1707 cell /||\ * **************************************************^^***
-- 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