0
모두!우분투 16.04에서 LibYUI-ncurses (YaST2) 빌드 문제
내가 16.44.2로 ununtu에서 최신 자식 버전 libyui를 만들려고했지만, 행운이 없다. .. 누군가가 ncurses 버전을 만들 수있게 도와 줄 수 있을까? 사전에
이/VERSION.cmake
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "47")
SET(VERSION_PATCH "6")
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}")
##### This is need for the libyui core, ONLY.
##### These will be overridden from exports in LibyuiConfig.cmake
SET(SONAME_MAJOR "5")
SET(SONAME_MINOR "0")
SET(SONAME_PATCH "0")
SET(SONAME "${SONAME_MAJOR}.${SONAME_MINOR}.${SONAME_PATCH}")
libyui-ncurses를하고 여기 ncurses6의 문제입니다 ...
$ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Curses6 (missing: CURSES6_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindCurses6.cmake:25 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/usr/share/libyui/buildtools/LibyuiCommon.cmake:231 (FIND_PACKAGE)
CMakeLists.txt:46 (FIND_LIB_DEPENDENCIES)
-- Configuring incomplete, errors occurred!
See also "/home/stalker/projects/libyui-ncurses/build/CMakeFiles/CMakeOutput.log".
감사합니다! 알렉스
오류 메시지는 Curses6 라이브러리를 찾지 못했다는 것을 의미합니다. 'FindCurse6.cmake' [source] (https://github.com/libyui/libyu-ncurses/blob/master/cmake/Modules/FindCurses6.cmake)를 살펴보면이 라이브러리의 이름을 알 수 있습니다 :'ncursesw' ,'panelw' 그리고'tinfo' (마지막 것은 옵션입니다). – Tsyvarev