shpsec-blaisep / canviz

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

Error 127 when compiling when dot is not in the path #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I try to compile the examples with cygwin and get following error:

$ make examples
which: no dot in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/ActiveState
Komodo Edit 
6:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/system32/
wbem:/cygdrive/c/program files/sdb/programs/bin:/cygdrive/c/program 
files/sdb/programs/pgm:/cygdrive/c/progra~1/secude/secude~1:/cygdrive/c/Program 
Files/Java/jre1.6.0_05:/cygdrive/c/program files/common files/opsession/shared:/
cygdrive/c/program files/common files/opsession/viewer 
shared:/cygdrive/c/program files/sap/frontend/sapgui:/cygdrive/c/program 
files/microsoft sql server/90/tools/binn:/cygdrive/c/program files/microsoft 
sql server/90/dts/binn:/cygdrive/c/
program files/microsoft sql 
server/90/tools/binn/vsshell/common7/ide:/cygdrive/c/program 
files/perforce:/cygdrive/c/program files/windows imaging:/cygdrive/c/Program 
Files/Graphviz 2.28/bin:/cygdrive/c/Program 
Files/TortoiseSVN/bin:/cygdrive/c/Documents and 
Settings/D056831/Miktex/miktex/bin)
dirname: missing operand
Try `dirname --help' for more information.
dirname: missing operand
Try `dirname --help' for more information.
find: `/share/graphviz/graphs': No such file or directory
which: no dot in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/ActiveState 
Komodo Edit 
6:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/system32/
wbem:/cygdrive/c/program files/sdb/programs/bin:/cygdrive/c/program 
files/sdb/programs/pgm:/cygdrive/c/progra~1/secude/secude~1:/cygdrive/c/Program
Files/Java/jre1.6.0_05:/cygdrive/c/program files/common 
files/opsession/shared:/cygdrive/c/program files/common files/opsession/viewer 
shared:/cygdrive/c/program files/sap/frontend/sapgui:/cygdrive/c/program 
files/microsoft sql server/90/tools/binn:/cygdrive/c/program files/microsoft 
sql server/90/dts/binn:/cygdrive/c/program files/microsoft sql 
server/90/tools/binn/vsshell/common7/ide:/cygdrive/c/program 
files/perforce:/cygdrive/c/program files/windows imaging:/cygdrive/c/Program 
Files/Graphviz 2.28/bin:/cygdrive/c/Program 
Files/TortoiseSVN/bin:/cygdrive/c/Documents and 
Settings/D056831/Miktex/miktex/bin)
examples/hello_world/graph.gv -Txdot -oexamples/hello_world/graph-xdot.gv
examples/hello_world/graph.gv: Line 1: digraph: Command not found.
examples/hello_world/graph.gv: Line 2: node: Command not found.
examples/hello_world/graph.gv: Line 3: hello:e-: Command not found.
examples/hello_world/graph.gv: Line 4: $'}\r': Command not found.
make: *** [examples/hello_world/graph-xdot.gv] Error 127

What can i do? Why i have to compile this, it should be interpreted from the 
browser.

Original issue reported on code.google.com by pascal.s...@gmail.com on 30 Sep 2011 at 11:05

GoogleCodeExporter commented 8 years ago
Duplicate of issue #59.

Running "make examples" isn't "compiling", really; it's just running a series 
of commands that produces the examples, because I didn't want the examples to 
have to rely on any particular server-side scripting language on your web host. 
For a real-world application, you'd probably use your favorite server-side 
scripting language instead. If you need help getting this to work, you can ask 
on the discussion group.

Original comment by ryandesi...@gmail.com on 30 Sep 2011 at 8:12