title: sh: dot: command not found + doxygen + Lion
body: <ul>
  <li>MacOS version: 10.7.2 (Lion)</li>
  <li>Doxygen version: 1.7.5.1</li>
  <li>Graphviz version: 2.29</li>
  </ul>
  
  <p>Doxygen configuration:</p>
  
  <pre><code>DOT_PATH = ../../../../Applications/Contents/MacOS/Graphviz
  HAVE_DOT = YES
  SHORT_NAMES = YES
  </code></pre>
  
  <p>From the log console, first line it gives a warning:</p>
  
  <blockquote>
    <p>warning: the dot tool could not be found at ../../../../Applications/Contents/MacOS/Graphviz</p>
  </blockquote>
  
  <p>I have tried various combinations but the warning does not go away, although it does generate the images.</p>
  
  <blockquote>
    <p>Generating dot graphs using 9 parallel threads...<br>
    Running dot for graph 1/68<br>
    sh: dot: command not found </p>
    
    <p>Problems running dot: exit code=127, command='dot', arguments='"/Users/salilk/Documents/project/DoxygenDocs/html/a00033.dot" -Tpng -o "/Users/salilk/Documents/project/DoxygenDocs/html/a00033.png"'</p>
  </blockquote>
  
  <p>In the html directory the .dot files have been generated but no .png.</p>
  
  <p><strong>Now if I execute the same command from the Terminal the .png file gets generated and is displayed in its .html file.</strong></p>
  
  <p>Another error from the console is:</p>
  
  <blockquote>
    <p>error: problems opening map file /Users/salilk/Documents/A2O Collaborate/DoxygenDocs/html/a00032.map for inclusion in the docs!
    If you installed Graphviz/dot after a previous failing run, try deleting the output directory and rerun doxygen.</p>
  </blockquote>
  
  <p>Is this related to the above problem ?</p>
  
  <p>I have used Doxygen before on a Windows machine and didn't have these errors, do we need to do any configurations specific for Mac? </p>