2016-09-04 2 views
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". 

감사합니다! 알렉스

+1

오류 메시지는 Curses6 라이브러리를 찾지 못했다는 것을 의미합니다. 'FindCurse6.cmake' [source] (https://github.com/libyui/libyu-ncurses/blob/master/cmake/Modules/FindCurses6.cmake)를 살펴보면이 라이브러리의 이름을 알 수 있습니다 :'ncursesw' ,'panelw' 그리고'tinfo' (마지막 것은 옵션입니다). – Tsyvarev

답변

0

cmake module은 3 년 전의 일이며 "ncurses6"에서 ncurses를 찾고있는 것으로 보입니다. 가능성이 그 사람의 개인 빌드 ncurses6 이후 불과 1 년 전에 릴리스 된 기반으로했다. 그 시점까지는 ABI = 6을 구축 할 수있는 옵션이 있었지만 제 3 자 패키지는 없었습니다.

관련 문제