ROOT 가이드

본 토픽은 현재 준비중입니다. 공동공부에 참여하시면 완성 되었을 때 알려드립니다.

설치 에러 및 해결 - Ubuntu

 문제

에러 메세지 (예)
해결 방법 (설치 커맨드)

CMake

The program 'cmake' is currently not installed. You can install it by typing:
sudo apt install cmake
> sudo apt install cmake

CXX compiler 

CMake Error at CMakeLists.txt:15 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
> sudo apt install g++ 

X11

CMake Error at /usr/share/cmake-3.5/Modules/FindX11.cmake:439 (message):
   Could not find X11
> sudo apt-get install libx11-dev

libXpm 

CMake Error at cmake/modules/SearchInstalledSoftware.cmake:278 (message):
  libXpm and Xpm headers must be installed.
 sudo apt-get install libxpm-dev

libXft

CMake Error at cmake/modules/SearchInstalledSoftware.cmake:287 (message):
  libXft and Xft headers must be installed.
sudo apt-get install libxft-dev

libXext 

CMake Error at cmake/modules/SearchInstalledSoftware.cmake:295 (message):
  libXext and Xext headers must be installed.
> sudo apt-get install libxext-dev

PythonLibs

CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
> sudo apt-get install python3-dev python3-pip python3-tk python3-lxml python3-six

VDT

CMake Error at /home/ejungwoo/ROOT-v6.14.04/obj/VDT-prefix/src/VDT-stamp/VDT-configure-RelWithDebInfo.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake' '-DSSE=OFF' '-DCMAKE_BUILD_TYPE=RelWithDebInfo' '-DCMAKE_C_COMPILER=/usr/bin/cc' '-DCMAKE_CXX_COMPILER=/usr/bin/c++' '-DCMAKE_C_FLAGS= -pipe -m64 -Wall -W -pthread' '-DCMAKE_CXX_FLAGS= -pipe -m64  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -std=c++11' '-DCMAKE_INSTALL_PREFIX=/home/ejungwoo/ROOT-v6.14.04/obj' '-GUnix Makefiles' '/home/ejungwoo/ROOT-v6.14.04/obj/VDT-prefix/src/VDT'

  See also

    /home/ejungwoo/ROOT-v6.14.04/obj/VDT-prefix/src/VDT-stamp/VDT-configure-*.log

로그 파일을 열어서 보면 (python3가 아닌) python 이 없어서 생기는 에러임을 알 수 있음. 

> sudo apt install python
  • 봤어요 (0명)

댓글

댓글 본문
버전 관리
ejungwoo
현재 버전
선택 버전
graphittie 자세히 보기