0

全部!

我试图在 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".

感谢提前!亚历克斯

4

1 回答 1

0

cmake 模块是 3 年前提交的,似乎正在“ncurses6”下寻找 ncurses。自一年多前 ncurses6 发布以来,这可能是基于某人的私人构建。在那之前,有构建 ABI=6 的选项,但没有第三方包。

于 2016-09-04T11:04:55.373 回答