tce-load -i compiletc curl-dev libarchive3-dev jsoncpp-dev expat2-dev ncursesw-dev libuv-dev librhash-dev cd cmake-3.13.4 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 CMAKE_C_FLAGS_RELEASE:STRING=-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe [fno-exceptions fails] edit /usr/src/cmake-3.13.4/Source/CursesDialog/cmCursesStandardIncludes.h #include -> #include make [13m 19.84s] 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