Hello everyone, I hope you are doing well! I’m having a weird problem when I try to build Root. I followed the instructions written in the root building page (https://root.cern.ch/building-root) but I got a problem when I try to use the cmake. I have a Ubuntu 14.04.5 LTS (x86_64), my C compiler is gcc 4.8.4 and my cmake is cmake 3.8.0-rc2 and jarvis is the name of my machine.Here is the code of my terminal :
[23:18:00] [~] $ wget https://root.cern.ch/download/root_v6.04.16.source.tar.gz
--2017-04-01 23:18:11-- https://root.cern.ch/download/root_v6.04.16.source.tar.gz
Resolvendo root.cern.ch (root.cern.ch)... 2001:1458:201:45::100:b, 137.138.13.143
Conectando-se a root.cern.ch (root.cern.ch)|2001:1458:201:45::100:b|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 100152368 (96M) [application/x-gzip]
Salvando em: “root_v6.04.16.source.tar.gz”
100%[===================================================================================================================================================================>] 100.152.368 4,31MB/s em 38s
2017-04-01 23:18:50 (2,52 MB/s) - “root_v6.04.16.source.tar.gz” salvo [100152368/100152368]
[23:18:50] [~] $ tar -zxf root_v6.04.16.source.tar.gz
[23:19:26] [~] $ mkdir RootBuilding
[23:19:54] [~] $ cd RootBuilding/
[23:20:14] [~/RootBuilding] $ cmake ~/root-6.04.16
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 4.8.4
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Found GCC. Major version 4, minor version 8
-- Performing Test HAS_CXX11
-- Performing Test HAS_CXX11 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- 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 -std=c++11 -Wno-deprecated-declarations -O2 -g -DNDEBUG
-- Looking for ZLib
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for Freetype
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.5.2")
-- Looking for PCRE
-- Found PCRE version 8.31 using /usr/bin/pcre-config
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for X11
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- X11_INCLUDE_DIR: /usr/include
-- X11_LIBRARIES: /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:153 (message):
libXpm and Xpm headers must be installed.
Call Stack (most recent call first):
CMakeLists.txt:58 (include)
-- Configuring incomplete, errors occurred!
See also "/home/jarvis/RootBuilding/CMakeFiles/CMakeOutput.log".
See also "/home/jarvis/RootBuilding/CMakeFiles/CMakeError.log".
[23:20:54] [~/RootBuilding] $