title: Install Cabal-dev with cygwin On windows 7
body: <p>I'm trying to do this:</p>
  
  <pre><code>cabal install cabal-dev
  </code></pre>
  
  <p>I have the lastest haskell platform installed and cygwin my path. </p>
  
  <p>I get this far:</p>
  
  <pre><code>Resolving dependencies...
  Downloading network-2.3.2.0...
  Configuring network-2.3.2.0...
  </code></pre>
  
  <p>and then eventually I get a sh.exe.stackdump</p>
  
  <pre><code>Stack trace:
  
  Frame     Function  Args
  00289218  6102F97B  (00289218, 00000000, 00000000, 00000000)
  00289508  6102F97B  (6119FE20, 00008000, 00000000, 611A1C8F)
  0028A538  6100652C  (611DC6AC, 0028A564, 765A1148, 000002B4)
  0028A558  61006568  (611DC6AC, 611DC75D, 00000000, 00000000)
  0028A598  61076E70  (61203020, 00000000, 00000000, 00000000)
  0028A5D8  61077007  (0028A600, 0028A5E0, 00000000, 00000000)
  0028A768  61078179  (00000000, 00000000, 00000000, 00000000)
  End of stack trace
  </code></pre>
  
  <p>process explorer tells me that this is trying to run:</p>
  
  <pre><code>"sh" "configure" "--with-compiler=ghc" "--prefix=C:\Users\Adam\AppData\Roaming\cabal" "--with-gcc=C:\Program Files (x86)\Haskell Platform\2012.2.0.0\mingw\bin\gcc.exe"
  </code></pre>
  
  <p>From here: </p>
  
  <pre><code>C:\Users\XXX\AppData\Local\Temp\network-2.3.2.0-7028\network-2.3.2.0\
  </code></pre>
  
  <p><strong>How do I get this installed?</strong></p>
  
  <p>It tried </p>
  
  <pre><code>runghc Setup.hs configure 
  </code></pre>
  
  <p>from the network-2.3.2.0 folder as well with the same result.</p>
  
  <p><em><strong>Update:</em></strong></p>
  
  <p>I got it to install with (thanks!)</p>
  
  <pre><code>cabal install --constraint="network installed" cabal-dev 
  </code></pre>
  
  <p>But I can't figure out how to use it.</p>
  
  <pre><code>&gt; cabal-dev install &amp;&amp; yesod
  cabal-dev is not recognized as an internal or external command
  </code></pre>
  
  <p>I'm trying to go through <a href="http://yannesposito.com/Scratch/en/blog/Yesod-tutorial-for-newbies/" rel="nofollow">this tutorial for YESOD</a>, but not getting very far</p>