<br><br><div class="gmail_quote">On Thu, Apr 1, 2010 at 6:13 PM, Rogan Creswick <span dir="ltr">&lt;<a href="mailto:creswick@gmail.com">creswick@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel &lt;<a href="mailto:ttuegel@gmail.com">ttuegel@gmail.com</a>&gt; wrote:<br>
&gt;<br></div><div class="im">
&gt; At this point, the package author need only run:<br>
&gt;<br>
&gt; $ ./Setup configure<br>
&gt; $ ./Setup build<br>
&gt; $ ./Setup test<br>
<br>
</div>My general feeling has been that Setup is being discouraged in favor<br>
of using &#39;cabal &lt;foo&gt;&#39;, but I don&#39;t have any solid evidence for that<br>
(and I could very well be wrong!).  They do do slightly different<br>
things, so I think it&#39;s wise to figure out which idiom is most likely<br>
to be used and work with that.<br></blockquote><div><br></div><div>I haven&#39;t figured out how it&#39;s possible, but I&#39;m convinced that ./Setup configure vs. cabal configure can lead to a different set of dependencies being selected.  This can lead to diamond dependency problems.  (I&#39;m convinced this happen on at least one machine I know of.)</div>
<div><br></div><div>What I don&#39;t understand is how it&#39;s possible for the discrepancy to happen.  It&#39;s as if ./Setup and cabal-install use different algorithms for dependency resolution, but as I understand it, both should be using the Cabal library for that.  My only other thought is that perhaps ./Setup uses a different version of the Cabal library than what cabal-install uses.</div>
<div><br></div><div>Perhaps Duncan can comment on this.</div><div><br></div><div>Jason</div></div>