tce-load -i compiletc curl-dev libarchive-dev jsoncpp-dev expat2-dev ncursesw-dev libuv-dev librhash-dev cd cmake-3.16.2 edit Modules/FindCurses.cmake include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) set(CURSES_NEED_NCURSES TRUE) set(CURSES_NEED_WIDE TRUE) set(CURSES_NCURSES_INCLUDE_PATH "/usr/local/include") set(CURSES_FORM_LIBRARY "/usr/local/lib/libformw.so") ./bootstrap --prefix=/usr/local --system-libs [3m 36.78s] [-- Checking for curses support - Failed] edit CMakeCache.txt BUILD_CursesDialog:BOOL=ON CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE CMAKE_BUILD_TYPE:STRING=Release CMAKE_CXX_FLAGS_RELEASE:STRING=-flto -fuse-linker-plugin -mtune=generic -Os -pipe -DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING=-flto -fuse-linker-plugin -mtune=generic -Os -pipe -DNDEBUG [fno-exceptions fails] edit Source/CursesDialog/cmCursesStandardIncludes.h #include -> #include make [12m 20.85s] sudo make install -- Using system-installed BZIP2 -- Using system-installed CURL -- Using system-installed EXPAT -- Using system-installed FORM -- Using system-installed JSONCPP -- Using system-installed LIBARCHIVE -- Using system-installed LIBLZMA -- Using system-installed LIBRHASH -- Using system-installed LIBUV -- Using system-installed ZLIB