[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] can't build testpack
From:       Ezekiel Smithburg <tehgeekmeister () gmail ! com>
Date:       2009-01-31 23:40:07
Message-ID: aa3422150901311540h4af12a08kedf8d03a17b92a58 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


oops, forgot to reply to all.  haven't used a mailing list in a while.  =P

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?

also, this section of the .cabal may be relevant:

 Build-Depends: base,
               haskell98, mtl, HUnit,
               QuickCheck >= 1.0 && < 2.0
 If flag(splitBase)
   Build-Depends: base >= 3, containers, random
 Else
   Build-Depends: base < 3

On Sat, Jan 31, 2009 at 5:21 PM, Krzysztof Skrzêtnicki <gtener@gmail.com>wrote:

> This error is due to usage of old base package in version 3.In .cabal file
> add dependency on base-4, in form "base >= 4".
> All best
>
> Christopher Skrzêtnicki
>
> 2009/2/1 Ezekiel Smithburg <tehgeekmeister@gmail.com>
>
>> this is the error message i get:
>>
>> ezekiel-smithburgs-macbook-pro-15% runhaskell Setup.* build
>> Preprocessing library testpack-1.0.0...
>> Building testpack-1.0.0...
>> [1 of 3] Compiling Test.QuickCheck.Instances (
>> src/Test/QuickCheck/Instances.hs, dist/build/Test/QuickCheck/Instances.o )
>> [2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs,
>> dist/build/Test/QuickCheck/Tools.o )
>> [3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs,
>> dist/build/Test/HUnit/Tools.o )
>>
>> src/Test/HUnit/Tools.hs:28:36:
>>     Class `Control.Exception.Exception' used as a type
>>     In the type `Control.Exception.Exception'
>>     In the type `Control.Exception.Exception -> IO a -> IO ()'
>>     In the type `String
>>                  -> Control.Exception.Exception -> IO a -> IO ()'
>>
>> 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).
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe@haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>>
>

[Attachment #5 (text/html)]

oops, forgot to reply to all.&nbsp; haven&#39;t used a mailing list in a while.&nbsp; \
=P<br><br>this did not solve my problem.&nbsp; also, dons suggested using runhaskell \
Setup.hs --constraint=&#39;base&lt;4&#39;, which worked for him apparently.&nbsp; \
neither suggestion has changed my error message at all, and I&#39;ve cleaned and \
reconfigured between each attempt.&nbsp; any other ideas?<br> <br>also, this section \
of the .cabal may be relevant:<br><br>&nbsp;Build-Depends: \
base,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
haskell98, mtl, HUnit,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
QuickCheck &gt;= 1.0 &amp;&amp; &lt; 2.0<br>&nbsp;If flag(splitBase)<br>&nbsp;&nbsp; \
Build-Depends: base &gt;= 3, containers, random<br>

&nbsp;Else<br>&nbsp;&nbsp; Build-Depends: base &lt; 3<br><br><div \
class="gmail_quote">On Sat, Jan 31, 2009 at 5:21 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;">This error is due to usage \
of old base package in version 3.<div>In .cabal file add dependency on base-4, in \
form &quot;base &gt;= 4&quot;.<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">&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;"> <div><div></div><div class="Wj3C7c">
this is the error message i get:<br><br>ezekiel-smithburgs-macbook-pro-15% runhaskell \
Setup.* build&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:28:36:<br>


&nbsp;&nbsp;&nbsp; Class `Control.Exception.Exception&#39; used as a \
type<br>&nbsp;&nbsp;&nbsp; In the type \
`Control.Exception.Exception&#39;<br>&nbsp;&nbsp;&nbsp; In the type \
`Control.Exception.Exception -&gt; IO a -&gt; IO ()&#39;<br>&nbsp;&nbsp;&nbsp; In the \
type `String<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
-&gt; Control.Exception.Exception -&gt; IO a -&gt; IO ()&#39;<br>


<br>what should i do?&nbsp; need this in order to build hdbc 2.0, which i&#39;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><br>



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic