우분투 설치시 오류및 해결 방법 입니다.
안녕하세요.
우분투를 이용한 패키지나 모듈 설치시 오류 상황과 해결 방법 입니다.
아래 블로그를 참고 하였습니다.
https://opentutorials.org/module/2860/22865
설치 에러 및 해결 - Ubuntu - ROOT 가이드
문제 에러 메세지 (예) 해결 방법 (설치 커맨드) 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 fou
opentutorials.org
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'
$ sudo apt install python
$ sudo apt install python