solution to that problem:<br><br>deleted the lines from "If flag(splitBase)" on and changed base in Build-Depends to base >= 4.<br><br>now i have a new problem, however:<br><br>ezekiel-smithburgs-macbook-pro-15% runhaskell Setup.hs build<br>
Preprocessing library testpack-1.0.0...<br>Building testpack-1.0.0...<br><br>src/Test/HUnit/Tools.hs:23:7:<br> Could not find module `System.Random':<br> it is a member of package random-1.0.0.1, which is hidden<br>
<br>random 1.0.0.1 is installed, i've verified that. what does this error mean?<br><br><div class="gmail_quote">2009/1/31 Ezekiel Smithburg <span dir="ltr"><<a href="mailto:tehgeekmeister@gmail.com">tehgeekmeister@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">oops, forgot to reply to all. haven't used a mailing list in a while. =P<div class="Ih2E3d">
<br><br>this did not solve my problem. also, dons suggested using runhaskell
Setup.hs --constraint='base<4', which worked for him apparently.
neither suggestion has changed my error message at all, and I've
cleaned and reconfigured between each attempt. any other ideas?<br>
<br>also, this section of the .cabal may be relevant:<br><br> Build-Depends: base,<br> haskell98, mtl, HUnit,<br> QuickCheck >= 1.0 && < 2.0<br> If flag(splitBase)<br> Build-Depends: base >= 3, containers, random<br>
Else<br> Build-Depends: base < 3<br><br></div><div class="gmail_quote"><div class="Ih2E3d">On Sat, Jan 31, 2009 at 5:21 PM, Krzysztof Skrzêtnicki <span dir="ltr"><<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>></span> wrote:<br>
</div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This error is due to usage of old base package in version 3.<div>
In .cabal file add dependency on base-4, in form "base >= 4".<div>
<br></div><div>All best</div><div><br></div><div>Christopher Skrzêtnicki<br><br>
<div class="gmail_quote">2009/2/1 Ezekiel Smithburg <span dir="ltr"><<a href="mailto:tehgeekmeister@gmail.com" target="_blank">tehgeekmeister@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
this is the error message i get:<br><br>ezekiel-smithburgs-macbook-pro-15% runhaskell Setup.* build <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:28:36:<br>
Class `Control.Exception.Exception' used as a type<br> In the type `Control.Exception.Exception'<br> In the type `Control.Exception.Exception -> IO a -> IO ()'<br> In the type `String<br> -> Control.Exception.Exception -> IO a -> IO ()'<br>
<br>what should i do? need this in order to build hdbc 2.0, which i'm hoping solves a problem i was having earlier (memory leak).<br>
<br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div></div></div><br>
</blockquote></div><br>