tce-load -i compiletc raptor-dev pcre-dev libgcrypt2-dev mpfr-dev http://download.librdf.org/source/rasqal-0.9.33.tar.gz cd rasqal-0.9.33 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install Rasqal build summary: RDF query languages available : sparql laqrs RDF query languages enabled : sparql laqrs Raptor version : 2.0.15 Decimal library : mpfr Regex library : pcre Message digest library : gcrypt UUID library : libuuid 2.28.2 Random approach : Internal Mersenne Twister ceil, floor, round source : libm