Last active
August 29, 2015 14:05
-
-
Save ooharak/f4e8439db6c74fa47466 to your computer and use it in GitHub Desktop.
Graphvizの中でSVGシェイプを使うとエラーになる件の対処(解決) ref: http://qiita.com/ooharak/items/2b43e11986b43cdd3299
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat k.dot | |
digraph { | |
a [image="elb.svg"] | |
} | |
$ dot -Tpdf k.dot > /dev/null | |
Warning: No loadimage plugin for "svg:cairo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get librsvg2-dev | |
$ sudo apt-get build-dep graphviz | |
$ sudo apt-get install dpkg-dev | |
$ apt-get source graphviz | |
$ sudo apt-get install devscripts | |
$ cd graphviz-2.36.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diff debian/rules{.org,} | |
73c73 | |
< --without-rsvg \ | |
--- | |
> --with-rsvg \ | |
$ diff debian/libgvc6.install{.org,} | |
7a8,9 | |
> usr/lib/graphviz/libgvplugin_rsvg.so.* | |
> usr/lib/graphviz/libgvplugin_gdk.so.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ debchange -i | |
# CHANGELOGを入力すること | |
$ debuild -us -uc | |
$ cd .. | |
$ sudo dpkg -i *.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment