[Haskell-cafe] circular dependencies in cabal

Valentyn Kamyshenko kamysh at kamysh.org
Sun Feb 1 05:14:00 EST 2009


well, the first and most immediate problem is that I can not even  
fetch the package from hackage using cabal:

# cabal fetch plugins Resolving dependencies...
cabal: dependencies conflict: ghc-6.10.1 requires process ==1.0.1.1  
however
process-1.0.1.1 was excluded because ghc-6.10.1 requires process  
==1.0.1.0

so, although I believe the problem with different versions of the same  
package to co-exist on my computer may be ignored in mane cases, this  
case makes life very inconvenient.

-- Valentyn

On Feb 1, 2009, at 1:57 AM, Marc Weber wrote:

>> Any suggestions?
>
> a) ignore it and hope you don't get segfaults or problems.
>
> b) choose one process libraries and rebuild the other packages using
> that one.
>
>
> About a)
> I'm not totally sure what could happen. I just can say That i've used
> different cabal versions and it went fine. I guess that the problem is
>
> A using P-1.0
> B using P-1.2
>
> you using A and B, passing data indirectly from A to B and A and B
> having different compilation options or different behaviour. I'm not  
> too
> sure about this. Maybe this can give you an idea what could happen.
> On the other hand you do use runXY or system from process only without
> passing data from one to the other so chances are good that your app
> will work nevertheless.
>
> Marc Weber
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list