tce-load -i compiletc curl-dev libarchive-dev expat2-dev ncurses-dev libuv-dev wget https://cmake.org/files/v3.23/cmake-3.23.1.tar.gz cd cmake-3.23.1 sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake ./bootstrap --prefix=/usr/local --system-libs --no-system-jsoncpp --no-system-librhash edit CMakeCache.txt BUILD_CursesDialog:BOOL=ON CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE CMAKE_BUILD_TYPE:STRING=Release CMAKE_CXX_FLAGS_RELEASE:STRING=-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING=-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG -DCURSES_CURSES_LIBRARY=/usr/local/lib/libncursesw.so -DCURSES_FORM_LIBRARY=/usr/local/lib/libformw.so -DCURSES_INCLUDE_PATH=/usr/local/include/ncursesw -DCURSES_NCURSES_LIBRARY=/usr/local/lib/libncursesw .so [fno-exceptions fails] make [1h 10m 26s] sudo make install