tried that version, it gets rid of that error message but now i have this one:<br><br>ezekiel-smithburgs-macbook-pro-15% cabal --flag=split-base configure -p<br>Configuring testpack-1.0.0...<br>ezekiel-smithburgs-macbook-pro-15% cabal build&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Preprocessing library testpack-1.0.0...<br>Building testpack-1.0.0...<br>[1 of 3] Compiling Test.QuickCheck.Instances ( src/Test/QuickCheck/Instances.hs, dist/build/Test/QuickCheck/Instances.o )<br>[2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs, dist/build/Test/QuickCheck/Tools.o )<br>
[3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs, dist/build/Test/HUnit/Tools.o )<br><br>src/Test/HUnit/Tools.hs:23:7:<br>&nbsp;&nbsp;&nbsp; Could not find module `System.Random&#39;:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Perhaps you haven&#39;t installed the profiling libraries for package random-1.0.0.1?<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use -v to see a list of the files searched for.<br><br>i&#39;ll start reading the cabal user guide and see if i can figure it out on my own, but i figure progress on this should be up on the list so if someone else has this problem, they can find this and solve it on their own.&nbsp; also, if someone else can figure it out before i do, that&#39;s cool too.<br>
<br>thanks for your help so far!<br><br><div class="gmail_quote">On Sat, Jan 31, 2009 at 8:14 PM, Krzysztof Skrzêtnicki <span dir="ltr">&lt;<a href="mailto:gtener@gmail.com">gtener@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, sorry for the confusion, I should have checked it before: testpack doesn&#39;t really need base-4, it needs base-3.<div>The right dependency line is (for both 6.10.1 and 6.8.3):</div><div><br></div><div>&nbsp;Build-Depends: base &gt;= 3 &amp;&amp; &lt; 4 , containers, random</div>

<div><br></div><div>I really need to get some sleep...</div><div><br></div><div>All best</div><div><br></div><div>Christopher Skrzêtnicki<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Sun, Feb 1, 2009 at 03:07, Krzysztof Skrzêtnicki <span dir="ltr">&lt;<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Trying to follow Ezekiel&#39;s steps I bumped into this:</div><div><br></div><div>&gt;&gt;&gt;</div>
<div><div>D:\biblioteki\testpack-1.0.0&gt;cabal configure</div>
<div><div>Configuring testpack-1.0.0...</div><div><br></div>
</div><div>D:\biblioteki\testpack-1.0.0&gt;cabal build</div><div><div>Preprocessing library testpack-1.0.0...</div><div>Building testpack-1.0.0...</div><div>[1 of 3] Compiling Test.QuickCheck.Instances ( src\Test\QuickCheck\Instances.hs, dist\build\Test\QuickCheck\Instances.o )</div>


<div>[2 of 3] Compiling Test.QuickCheck.Tools ( src\Test\QuickCheck\Tools.hs, dist\build\Test\QuickCheck\Tools.o )</div><div>[3 of 3] Compiling Test.HUnit.Tools ( src\Test\HUnit\Tools.hs, dist\build\Test\HUnit\Tools.o )</div>


<div><br></div></div><div>src\Test\HUnit\Tools.hs:28:36:</div><div><div>&nbsp;&nbsp; &nbsp;Class `Control.Exception.Exception&#39; used as a type</div><div>&nbsp;&nbsp; &nbsp;In the type `Control.Exception.Exception&#39;</div><div>&nbsp;&nbsp; &nbsp;In the type `Control.Exception.Exception -&gt; IO a -&gt; IO ()&#39;</div>


<div>&nbsp;&nbsp; &nbsp;In the type `String</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Control.Exception.Exception -&gt; IO a -&gt; IO ()&#39;</div><div><br></div></div><div>D:\biblioteki\testpack-1.0.0&gt;cabal install</div><div>Resolving dependencies...</div>

<div>
<div>Configuring testpack-1.0.0...</div><div>Preprocessing library testpack-1.0.0...</div><div>Building testpack-1.0.0...</div></div><div><div>[3 of 3] Compiling Test.HUnit.Tools ( src\Test\HUnit\Tools.hs, dist\build\Test\HUnit\Tools.o )</div>


<div>C:\ghc\ghc-6.10.1\bin\ar.exe: creating dist\build\libHStestpack-1.0.0.a</div><div>Installing library in C:\Program Files\Haskell\testpack-1.0.0\ghc-6.10.1</div><div>Registering testpack-1.0.0...</div><div>Reading package info from &quot;dist\\installed-pkg-config&quot; ... done.</div>


<div>Writing new package config file... done.</div><div>&lt;&lt;&lt;</div><div><br></div></div><div>In short: &quot;cabal configure &amp;&amp; cabal build&quot; fails, whereas &quot;cabal install&quot; builds fine. Looks like a bug in cabal-install. Am I right?</div>


<div><br></div><div>All best</div><div><br></div><div>Christopher Skrzêtnicki</div></div><div><div></div><div><div><br></div><br><br><div class="gmail_quote">On Sun, Feb 1, 2009 at 03:01, Krzysztof Skrzêtnicki <span dir="ltr">&lt;<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>testpack builds fine for me. In the original .cabal file there are following lines:</div>
<div><br></div><div>&gt;&gt;&gt;</div>

<div>&nbsp;If flag(splitBase)<br></div><div><div><div>&nbsp;&nbsp; Build-Depends: base &gt;= 3, containers, random</div>
<div>&nbsp;Else</div><div>&nbsp;&nbsp; Build-Depends: base &lt; 3&nbsp;</div><div>&lt;&lt;&lt;</div><div><br></div></div><div>Now that I think about it you didn&#39;t actually said what is your GHC version.</div><div>Knowing that you can replace lines above with one line that matches your specific configuration.</div>



<div><br></div><div>GHC 6.8.3 :</div><div>&nbsp;&nbsp; Build-Depends: base &gt;= 4, containers, random<br></div><div>GHC 6.10.1 :&nbsp;</div><div><div>&nbsp;&nbsp; Build-Depends: base &gt;= 3, containers, random<br></div><div><br>
</div></div><div>Please take care to restore and modify the original file.</div>
<div><br></div><div>I think you should read Cabal user guide. This will save your time in the future:&nbsp;</div><a href="http://www.haskell.org/ghc/docs/latest/html/Cabal/index.html" target="_blank">http://www.haskell.org/ghc/docs/latest/html/Cabal/index.html</a></div>



<div><br></div><div>I *hope* those changes will fix your installation. I can&#39;t really test it, because testpack build fine with my version of cabal:</div><div><br></div><div><div>C:\Documents and Settings\Metharius&gt;cabal install testpack --reinstall</div>



<div>Resolving dependencies...</div><div>&#39;testpack-1.0.0&#39; is cached.</div><div>Configuring testpack-1.0.0...</div><div><div>Preprocessing library testpack-1.0.0...</div><div>Building testpack-1.0.0...</div>
<div>[1 of 3] Compiling Test.QuickCheck.Instances ( src\Test\QuickCheck\Instances.hs, dist\build\Test\QuickCheck\Instances.o )</div>
<div>[2 of 3] Compiling Test.QuickCheck.Tools ( src\Test\QuickCheck\Tools.hs, dist\build\Test\QuickCheck\Tools.o )</div><div>[3 of 3] Compiling Test.HUnit.Tools ( src\Test\HUnit\Tools.hs, dist\build\Test\HUnit\Tools.o )</div>



</div><div>C:\ghc\ghc-6.10.1\bin\ar.exe: creating dist\build\libHStestpack-1.0.0.a</div><div>Installing library in C:\Program Files\Haskell\testpack-1.0.0\ghc-6.10.1</div><div>Registering testpack-1.0.0...</div><div>Reading package info from &quot;dist\\installed-pkg-config&quot; ... done.</div>



<div>Writing new package config file... done.</div><div><br></div><div>C:\Documents and Settings\Metharius&gt;cabal install -w c:\ghc\ghc-6.8.3\bin\ghc testpack --reinstall</div><div>Resolving dependencies...</div><div>&#39;testpack-1.0.0&#39; is cached.</div>



<div>Configuring testpack-1.0.0...</div><div><div>Preprocessing library testpack-1.0.0...</div><div>Building testpack-1.0.0...</div><div>[1 of 3] Compiling Test.QuickCheck.Instances ( src/Test/QuickCheck/Instances.hs, dist\build/Test/QuickCheck/Instances.o )</div>



<div>[2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs, dist\build/Test/QuickCheck/Tools.o )</div><div>[3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs, dist\build/Test/HUnit/Tools.o )</div>



</div><div>C:\ghc\ghc-6.10.1\bin\ar.exe: creating dist\build\libHStestpack-1.0.0.a</div><div>Installing library in C:\Program Files\Haskell\testpack-1.0.0\ghc-6.8.3</div><div>Registering testpack-1.0.0...</div><div>Reading package info from &quot;dist\\installed-pkg-config&quot; ... done.</div>



<div>Saving old package config file... done.</div><div>Writing new package config file... done.</div><div><br></div></div><div>Perhaps it may also be the difference of installing with &quot;cabal install&quot; and &quot;runhaskell Setup build&quot;.</div>



<div><br></div><div>All best</div><div><br></div><div>Christopher Skrzêtnicki</div><div><div></div><div><div><br></div><div><br><div class="gmail_quote">2009/2/1 Ezekiel Smithburg <span dir="ltr">&lt;<a href="mailto:tehgeekmeister@gmail.com" target="_blank">tehgeekmeister@gmail.com</a>&gt;</span><br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">oddly, when i do that, i&#39;m back to the original error message.&nbsp; and sorry, i didn&#39;t understand what you meant, apparently.<div>



<div></div><div><br><br><div class="gmail_quote">On Sat, Jan 31, 2009 at 7:41 PM, Krzysztof Skrzêtnicki <span dir="ltr">&lt;<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="gmail_quote"><div>2009/2/1 Ezekiel Smithburg <span dir="ltr">&lt;<a href="mailto:tehgeekmeister@gmail.com" target="_blank">tehgeekmeister@gmail.com</a>&gt;</span><br>




</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
solution to that problem:<div><br><br>deleted the lines from &quot;If flag(splitBase)&quot; on and changed base in Build-Depends to base &gt;= 4.<br></div></blockquote><div><br></div><div>Well, this is exactly what I suggested in the first place:</div>





<div><br></div><div><span style="border-collapse: collapse;"><div>&gt; This error is due to usage of old base package in version 3.<div>&gt; In .cabal file add dependency on base-4, in form &quot;base &gt;= 4&quot;.</div>


<div><br></div></div><div>Regarding second qustion:</div><div><div><br></div><div>&gt;&nbsp;random 1.0.0.1 is installed, i&#39;ve verified that.&nbsp; what does this error mean?</div><div><br></div></div><div>It means that .cabal file fails to specify dependancy on random package. Add dependancy on &quot;random&quot; package next to &quot;base&gt;=4&quot;. This should help.</div>





<div><br></div><div>All best</div><div><br></div><div>Christopher Skrzêtnicki</div></span></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>