tce-load -i intltool guile-dev libxslt-dev libgnomecanvas-dev goffice-gtk2-dev webkit-dev libtool-dev libofx-dev libgnome-keyring-dev libsecret-dev cd gnucash-2.6.16 patch -Np0 -i ../gnucash-2.6.16_totd.patch 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 --disable-static --localstatedir=/var --libexecdir=/usr/local/lib --disable-dbi find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; edit src/gnc-test-env.pl /usr/bin/env perl make sudo make install Options detected/selected ------------------------- gnucash version ...... : 2.6.16 Build for host ....... : x86_64-unknown-linux-gnu Optional components... : ofx Extra Warnings ....... : -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 CPPFLAGS ............. : CFLAGS ............... : -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -std=gnu99 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused LDFLAGS .............. : prefix................ : /usr/local