The Daily Scrum

Dedicated to Scrum, Agile and other stuff

Cairosvg

Install Cairosvg

1
sudo pip install pycairo
1
brew install py2cairo
1
sudo pip install cairosvg
1
sudo ./waf configure --prefix=/System/Library/Frameworks/Python.framework/Versions/2.7

Additional

  • find out where the svg/cairo libraries were installed
  • make sure that pkg-config finds these, if not, set PKG_CONFIG_PATH to point to the /lib directory of the location were the svg/cairo libraries are installed
  • re-run configure, which should now pick up the new libraries (if not, check config.log)
  • if the build still fails, try to do a make distclean (which requires a new configure afterwards)

Comments