• Atom feed
  • RSS feed
  • Daily Scrum

    A personal blog

    cairosvg

    Install Cairosvg

    sudo pip install pycairo
    
    brew install py2cairo
    
    sudo pip install cairosvg
    
    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)

    Related posts

    Comments