tce-load -i compiletc readline-dev openssl-dev libidn2-dev wget http://lftp.yar.ru/ftp/lftp-4.9.2.tar.xz cd lftp-4.9.2 edit configure for ac_header in curses.h term.h ncursesw/curses.h ncursesw/term.h ncursesw/termcap.h edit src/lftp_tinfo.cc same LIBS="-lncursesw" CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --enable-shared --with-openssl find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [0m 58.10s] make install