Hi,
I’m installing ROOT on a new Ubuntu server and getting an error. I am not a super user, but I had the su install the prereq and optional packages for Ubuntu:
sudo apt-get install git dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev
libxft-dev libxext-dev
Optional packages:
sudo apt-get install gfortran libssl-dev libpcre3-dev
xlibmesa-glu-dev libglew1.5-dev libftgl-dev
libmysqlclient-dev libfftw3-dev cfitsio-dev
graphviz-dev libavahi-compat-libdnssd-dev
libldap2-dev python-dev libxml2-dev libkrb5-dev
libgsl0-dev libqt4-dev
When I do the first cmake command I get the following:
kwd1@lteacs4:~/rootbuild$ cmake /home/kwd1/root-6.06.00
– Found GCC. Major version 4, minor version 6
– Found a 64bit system
– Found GNU compiler collection
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: RelWithDebInfo
– Compiler Flags: -pipe -m64 -Wall -W -Woverloaded-virtual -fsigned-char -fPIC -pthread -O2 -g -DNDEBUG
– Looking for ZLib
– Looking for Freetype
– Looking for PCRE
– Building LZMA version 5.2.1 included in ROOT itself
– Looking for X11
– Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Looking for GSL
– Looking for Python
– Found Python interpreter version 2.7
– Looking for OpenGL
– Looking for Graphviz
– Looking for Bonjour
– Checking whether Bonjour/Avahi is supported
– Looking for Kerberos 5
– Looking for LibXml2
– Looking for OpenSSL
– Looking for MySQL
– Looking for FFTW3
– Looking for CFITSIO
– Found CFITSIO version: 3.29
– Enabled support for: asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_glew builtin_lzma builtin_llvm cling exceptions explicitlink fftw3 fitsio gviz genvector krb5 ldap mathmore memstat mysql opengl pch python shadowpw shared ssl thread tmva vdt xft xml x11
– Target triple: x86_64-unknown-linux-gnu
– Native target architecture is X86
– Threads disabled.
– Doxygen disabled.
– Sphinx disabled.
– Go bindings disabled.
– Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
– Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
– OCaml bindings disabled.
– Building with -fPIC
CMake Error at interpreter/llvm/src/cmake/modules/HandleLLVMOptions.cmake:350 (message):
LLVM requires C++11 support but the ‘-std=c++11’ flag isn’t supported.
Call Stack (most recent call first):
interpreter/llvm/src/CMakeLists.txt:348 (include)
– Configuring incomplete, errors occurred!
See also “/home/kwd1/rootbuild/CMakeFiles/CMakeOutput.log”.
See also “/home/kwd1/rootbuild/CMakeFiles/CMakeError.log”.
kwd1@lteacs4:~/rootbuild$ uname -a
Linux lteacs4 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
kwd1@lteacs4:~/rootbuild$
Looks like a C++11 error above. Any ideas on how to proceed?
thanks
Ken