所有!
我试图在ununtu 16.04.2上构建最新的git版本libyui,但没有运气......那么,有人可以帮我构建ncurses版本吗?
这是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}" )
这是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".
感谢您提前! 亚历
答案 0 :(得分:0)
cmake module是3年前提交的,似乎是在“ncurses6”下寻找ncurses。可能这是基于某人的私人构建,因为ncurses6刚刚在一年前发布。在此之前,可以选择构建ABI = 6,但没有第三方软件包。