tce-load -i py3cairo-dev gobject-introspection-dev cd pygobject-3.22.0 cd /usr/local/bin sudo rm python sudo ln -s python3.3 python mkdir python3 cd python3 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 --with-python=/usr/local/bin/python3 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make cd .. sudo make -C python3 install pygobject 3.22.0 Using python interpreter: /usr/local/bin/python3 cairo support: yes thread support: yes code coverage support: no