tce-load -i compiletc curl-dev libarchive3-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 [-- 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 -march=i486 -mtune=i686 -Os -pipe -DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING=-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -DNDEBUG [fno-exceptions fails] edit Source/CursesDialog/cmCursesStandardIncludes.h #include