<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Christoph,<br>
    <br>
    thanks for your fast answer (at bottom).<br>
    <br>
    I already installed gcc-4.9 yesterday as follows:<br>
    <br>
    --<br>
    <pre><code>sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9</code></pre>
    --<br>
    <br>
    The command "gcc --version" gives<br>
    <br>
    --<br>
    gcc (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3<br>
    Copyright (C) 2015 Free Software Foundation, Inc.<br>
    This is free software; see the source for copying conditions.  There
    is NO<br>
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
    PURPOSE.<br>
    --<br>
    <br>
    Then I run:<br>
    dune-common/bin/dunecontrol all<br>
    <br>
    I still get the same error:<br>
    <br>
    -------------------<br>
    diening@tpdiening:~/dune$ dune-common/bin/dunecontrol all<br>
    WARNING: could not find module dune-uggrid,<br>
           module is also unknown to pkg-config.<br>
           Maybe you need to adjust PKG_CONFIG_PATH!<br>
           dune-uggrid is suggested by dune-grid<br>
    Skipping dune-uggrid!<br>
    WARNING: could not find module dune-uggrid,<br>
           module is also unknown to pkg-config.<br>
           Maybe you need to adjust PKG_CONFIG_PATH!<br>
           dune-uggrid is suggested by dune-grid<br>
    Skipping dune-uggrid!<br>
    --- going to build dune-common dune-geometry dune-localfunctions
    dune-istl dune-grid dune-typetree dune-alugrid dune-pdelab
    dune-pdelab-howto dune-grid-howto  ---<br>
    --- calling all for dune-common ---<br>
    --- calling vcsetup for dune-common ---<br>
    --- calling autogen for dune-common ---<br>
    Skipping dune-autogen because of CMake<br>
    --- calling configure for dune-common ---<br>
     cmake -DCMAKE_MODULE_PATH="" 
    -DCMAKE_DISABLE_FIND_PACKAGE_MPI=FALSE 
    "/home/diening/dune/dune-common"<br>
    -- I could not find the biber command.<br>
    -- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE) <br>
    -- Performing tests specific to dune-common from file
    /home/diening/dune/dune-common/cmake/modules/DuneCommonMacros.cmake.<br>
    -- A library with BLAS API found.<br>
    -- A library with LAPACK API found.<br>
    CMake Warning at cmake/modules/DuneCommonMacros.cmake:29
    (find_package):<br>
      By not providing "FindVc.cmake" in CMAKE_MODULE_PATH this project
    has asked<br>
      CMake to find a package configuration file provided by "Vc", but
    CMake did<br>
      not find one.<br>
    <br>
      Could not find a package configuration file provided by "Vc" with
    any of<br>
      the following names:<br>
    <br>
        VcConfig.cmake<br>
        vc-config.cmake<br>
    <br>
      Add the installation prefix of "Vc" to CMAKE_PREFIX_PATH or set
    "Vc_DIR" to<br>
      a directory containing one of the above files.  If "Vc" provides a
    separate<br>
      development package or SDK, be sure it has been installed.<br>
    Call Stack (most recent call first):<br>
      cmake/modules/DuneMacros.cmake:570 (include)<br>
      cmake/modules/DuneMacros.cmake:714
    (dune_process_dependency_macros)<br>
      CMakeLists.txt:17 (dune_project)<br>
    <br>
    <br>
    -- Using scripts from /home/diening/dune/dune-common/cmake/scripts
    for creating doxygen stuff.<br>
    -- using /home/diening/dune/dune-common/doc/doxygen/Doxystyle to
    create doxystyle file<br>
    -- Skipping building CMake API documentation (Sphinx was not found!)<br>
    -- Not adding custom target for config.h generation<br>
    -- <br>
    -- The following OPTIONAL packages have been found:<br>
    <br>
     * MPI<br>
     * PythonInterp<br>
     * Doxygen<br>
     * PkgConfig<br>
     * BLAS<br>
     * Threads<br>
     * LAPACK<br>
     * GMP<br>
     * Inkscape<br>
    <br>
    -- The following OPTIONAL packages have not been found:<br>
    <br>
     * ThreadsCMake31<br>
     * LATEX<br>
     * UnixCommands<br>
     * Sphinx<br>
     * Vc , C++ Vectorization library ,
    <a class="moz-txt-link-rfc2396E" href="https://github.com/VcDevel/Vc"><https://github.com/VcDevel/Vc></a><br>
    <br>
    -- Configuring done<br>
    -- Generating done<br>
    -- Build files have been written to:
    /home/diening/dune/dune-common/build-cmake<br>
    --- calling make for dune-common ---<br>
    build directory: build-cmake<br>
    cmake --build . -- <br>
    [  7%] Building CXX object
    dune/common/CMakeFiles/dunecommon.dir/parametertree.cc.o<br>
    In file included from
    /home/diening/dune/dune-common/dune/common/fvector.hh:16:0,<br>
                     from
    /home/diening/dune/dune-common/dune/common/parametertree.hh:26,<br>
                     from
    /home/diening/dune/dune-common/dune/common/parametertree.cc:18:<br>
    /home/diening/dune/dune-common/dune/common/typetraits.hh:521:62:
    error: ‘decay_t’ is not a member of ‘std’<br>
       struct IsIntegralConstant : public
    Imp::IsIntegralConstant<std::decay_t<T>><br>
                                                                  ^<br>
    /home/diening/dune/dune-common/dune/common/typetraits.hh:521:62:
    error: ‘decay_t’ is not a member of ‘std’<br>
    /home/diening/dune/dune-common/dune/common/typetraits.hh:521:75:
    error: template argument 1 is invalid<br>
       struct IsIntegralConstant : public
    Imp::IsIntegralConstant<std::decay_t<T>><br>
                                                                              
    ^<br>
    /home/diening/dune/dune-common/dune/common/typetraits.hh:521:76:
    error: expected ‘{’ before ‘>’ token<br>
       struct IsIntegralConstant : public
    Imp::IsIntegralConstant<std::decay_t<T>><br>
                                                                               
    ^<br>
    /home/diening/dune/dune-common/dune/common/typetraits.hh:521:76:
    error: expected unqualified-id before ‘>’ token<br>
    make[2]: ***
    [dune/common/CMakeFiles/dunecommon.dir/parametertree.cc.o] Error 1<br>
    make[1]: *** [dune/common/CMakeFiles/dunecommon.dir/all] Error 2<br>
    make: *** [all] Error 2<br>
    --- Failed to build dune-common ---<br>
    Terminating dunecontrol due to previous errors!<br>
    ---------------------<br>
    <br>
    What should I do?<br>
    <br>
    Best wishes,<br>
    <br>
    Lars<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/03/2016 05:16 PM, Christoph
      Grüninger wrote:<br>
    </div>
    <blockquote cite="mid:web-210335035@uni-stuttgart.de" type="cite">Hi
      Lars,
      <br>
      your compiler is too old, is does not support C++14.
      <br>
      GCC 4.9 or Clang 3.8 (or 3.5 with a libc++ and not
      <br>
      libstdcxx) is sufficient.
      <br>
      <br>
      We (Dune) should add a check to warn properly about too
      <br>
      old compilers instead of leaving you like that.
      <br>
      <br>
      Bye
      <br>
      Christoph
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>