<div dir="ltr"><br><div class="gmail_quote"><br><div dir="ltr">Thank you Sjoerd,<div><br></div><div>Unfortunately this does not work.</div><div><br></div><div>I think the problem is linked to the evaluation of the condition (in Base.hs)</div>
<div>
<br></div><div>#if !MIN_VERSION_base(4,4,0) &amp;&amp; HS_TRANSFORMERS_BASE__ORPHANS</div><div><br></div><div>Just as a test, I modified the file and added the following lines</div><div><br></div><div>
A. negation of min_version</div><div>#if <b><u>!</u></b>MIN_VERSION_base(4,4,0)<br></div><div>rgfyfgruyfgreuy  -- making sure the compilation fails</div><div>#endif</div><div><br></div><div>B</div>
<div><div>#if MIN_VERSION_base(4,4,0)<br></div><div>rgfyfgruyfgreuy  -- making sure the compilation fails</div><div>#endif</div><div><br></div><div>In both case the compilations failed (cabal clean, configure, build).  That is, it seems that the #if always evaluate to true...</div>

<div><br></div><div>I am surely missing something here...</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J-C</div><div><br></div></font></span></div></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, May 9, 2013 at 4:13 PM, Sjoerd Visscher <span dir="ltr">&lt;<a href="mailto:sjoerd@w3future.com" target="_blank">sjoerd@w3future.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 style="word-wrap:break-word">There&#39;s a flag to turn it off, does that work? Try cabal install transformers-base -f-<span style="white-space:pre-wrap">OrphanInstances</span><div><span style="white-space:pre-wrap"><br>

</span></div><div><span style="white-space:pre-wrap">Sjoerd<br></span><div><div><br></div><div><div><div><div>On May 9, 2013, at 2:47 PM, jean-christophe mincke &lt;<a href="mailto:jeanchristophe.mincke@gmail.com" target="_blank">jeanchristophe.mincke@gmail.com</a>&gt; wrote:</div>

<br></div></div><blockquote type="cite"><div><div><div dir="ltr">Hello Café<div><br></div><div>I am running into problems  when installing transformers-base-0.4.1.</div><div><br></div><div>Has anyone an idea about what is going on?</div>

<div><br></div><div>REM : this is a &quot;brand new&quot; debian install, I have just install ghc, cabal install cabal-install etc.</div>
<div><br></div><div>Thank you</div><div><br></div><div>very much</div><div><br></div><div>J-C<br><div><br></div><div><div>cabal install transformers-base</div><div>Resolving dependencies...</div><div>Downloading transformers-base-0.4.1...</div>


<div>Configuring transformers-base-0.4.1...</div><div>Preprocessing library transformers-base-0.4.1...</div><div>Building transformers-base-0.4.1...</div><div>[1 of 1] Compiling Control.Monad.Base ( src/Control/Monad/Base.hs, dist/build/Control/Monad/Base.o )</div>


<div><br></div><div>src/Control/Monad/Base.hs:63:10:</div><div>    Duplicate instance declarations:</div><div>      instance Applicative (<a href="http://l.st/" target="_blank">L.ST</a> s)</div><div>        -- Defined at src/Control/Monad/Base.hs:63:10</div>


<div>      instance Applicative (<a href="http://l.st/" target="_blank">L.ST</a> s) -- Defined in `Control.Applicative&#39;</div><div><br></div><div>src/Control/Monad/Base.hs:67:10:</div><div>    Duplicate instance declarations:</div>

<div>
      instance Applicative (<a href="http://s.st/" target="_blank">S.ST</a> s)</div><div>        -- Defined at src/Control/Monad/Base.hs:67:10</div><div>      instance Applicative (<a href="http://s.st/" target="_blank">S.ST</a> s) -- Defined in `Control.Applicative&#39;</div>


<div>cabal: Error: some packages failed to install:</div><div>transformers-base-0.4.1 failed during the building phase. The exception was:</div><div>ExitFailure 1</div></div></div></div></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>

</blockquote></div><br></div></div></div></blockquote></div><br></div>
</div></div></div><br></div>