안녕하세요.
우분투를 이용한 패키지나 모듈 설치시 오류 상황과 해결 방법 입니다.
아래 블로그를 참고 하였습니다.
https://opentutorials.org/module/2860/22865
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
'IT > Linux' 카테고리의 다른 글
우분투(Ubuntu) 리눅스 - 문제가 생긴 패키지 복구 방법 입니다. (0) | 2020.02.14 |
---|---|
우분투 리눅스에서 RPM 파일 설치 하기 (0) | 2020.02.13 |
ifconfig : 리눅스 네트워크 인터페이스 설정 및 확인 (0) | 2020.02.07 |
리눅스 IP 유틸리티 - 네트워크 설정 (0) | 2020.02.07 |
Windows 가상머신(VirtualBox)에 CentOS 설치하기 (6) | 2020.02.02 |
최근댓글