1. install build dep: $ tce-load -wi giblib-dev 2. per TC wiki, for maximum compatibility: export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe" export LDFLAGS="-Wl,-O1" 3. the usual: $ ./configure $ make $ make DESTDIR=/opt/destscrot install