tce-load -i compiletc curl-dev libarchive-dev jsoncpp-dev expat2-dev ncursesw-dev libuv-dev librhash-dev cd cmake-3.13.4 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake 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 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 CMAKE_C_FLAGS_RELEASE:STRING=-flto -fuse-linker-plugin -mtune=generic -Os -pipe [fno-exceptions fails] edit /usr/src/cmake-3.13.4/Source/CursesDialog/cmCursesStandardIncludes.h #include