baqian / canviz

Automatically exported from code.google.com/p/canviz
0 stars 0 forks source link

Canviz does not compile in debian sid #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

In debian:
1. svn checkout http://canviz.googlecode.com/svn/canviz/trunk/ canviz-read-only
2. cd canviz-read-only
3. make examples
4. ls (aka look in the folder)

What is the expected output?

A build folder should be created as specified in the example file 
/examples/hello_world/new.html :
<script type="text/javascript" src="../../build/canviz.min.js"></script>

What version of the product are you using? On what operating system?

Debian sid, svn is at revision 371

What do you see instead?

Output from "make" seems to crash on some folder its looking for in graphviz, 
but it does not exist in any package in the distribution (I tried to give it a 
different folder with no files to make it skip that command, but that did not 
solve the problem, canviz does not build):

guy@golem3:/tmp/canviz-read-only$ make examples
find: `/usr/share/graphviz/graphs': No such file or directory
/usr/bin/dot examples/hello_world/graph.gv -Txdot 
-oexamples/hello_world/graph-xdot.gv
awk -f insert_file.awk -v placeholder=@GRAPH@ examples/hello_world/graph.gv 
examples/hello_world/new.html.in > examples/hello_world/new.html
awk: insert_file.awk:11: warning: escape sequence `\&' treated as plain `&'
/usr/bin/dot examples/hello_world/graph.gv -Tcmapx 
-oexamples/hello_world/graph-cmapx.html
/usr/bin/dot examples/hello_world/graph.gv -Tpng 
-oexamples/hello_world/graph.png
awk -f insert_file.awk -v placeholder=@GRAPH@ examples/hello_world/graph.gv 
examples/hello_world/old.html.in > examples/hello_world/old.html.tmp
awk: insert_file.awk:11: warning: escape sequence `\&' treated as plain `&'
awk -f insert_file.awk -v placeholder=@CMAPX@ 
examples/hello_world/graph-cmapx.html examples/hello_world/old.html.tmp > 
examples/hello_world/old.html
awk: insert_file.awk:11: warning: escape sequence `\&' treated as plain `&'
rm -f examples/hello_world/old.html.tmp
mkdir ./graphs
Generating graphs/graphlist.js
Generating graphs/layoutlist.js
mkdir ./graphs/images
find /usr/share/graphviz/graphs -type f -name '*.gif' -or -name '*.jpg' -or 
-name '*.png' -print0 | xargs -0 -t -n 1 -I % cp % ./graphs/images
find: `/usr/share/graphviz/graphs': No such file or directory

Original issue reported on code.google.com by guys...@gmail.com on 1 Oct 2012 at 4:19

GoogleCodeExporter commented 8 years ago
Where did the sample graphs get installed on your system, if not in 
/usr/share/graphviz/graphs?

Original comment by ryandesi...@gmail.com on 20 Jul 2013 at 9:52