Установите Каир

For Debian and Debian derivatives including Ubuntu:
sudo apt-get install libcairo2-dev

For Fedora:
sudo yum install cairo-devel

For openSUSE:
zypper install cairo-devel
Happy Hare