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