blob: 3eeb2159ec22403374a7bcaf547113663414147e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Cairo
WeasyPrint relies on Cairo>1.14.~ but cairo=1.15.* didn't install correctly. Cairo 1.16.0 tested and works as of Feb 9
Install cairo on Ubuntu 16.04 for WeasyPrint
```
wget https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
tar -xf cairo-1.16.0.tar.xz
cd cairo-1.16.0
./configure --prefix=$HOME/code/cairo
make
make install
export PKG_CONFIG_PATH=$HOME/code/cairo/lib/pkgconfig
export LD_LIBRARY_PATH=$HOME/code/cairo/lib
# pip install weasyprint
```
|