tce-load -i py2cairo-dev gobject-introspection-dev libpthread-stubs xorg-proto cd pygobject-3.22.0 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-python=/usr/local/bin/python2 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install pygobject 3.22.0 Using python interpreter: /usr/local/bin/python2 cairo support: yes thread support: yes code coverage support: no