
Running 'cabal configure' on one of our code bases gives: package random-1.0.0.2 requires time-1.1.4 package random-1.0.0.2 requires time 1.2.03 in addition to several other such warnings. This one is the oddest however since it is the same version of random that presumably requires two different versions of time. How can that be? Output of 'cabal info random' gives: Dependencies: base >= 3 && <5, time -any This happens only on a Debian system, in which I installed the Haskell Platform using apt-get.

On Thu, Aug 5, 2010 at 3:29 AM, Ashish Agarwal
Running 'cabal configure' on one of our code bases gives: package random-1.0.0.2 requires time-1.1.4 package random-1.0.0.2 requires time 1.2.03 ... This happens only on a Debian system, in which I installed the Haskell Platform using apt-get.
Did you also install libraries using cabal ? cabal install in your home directory by default, as a result you can have both global and user packages, and there can be conflicts. David.

This is on a virtual machine where I just work as root. So all commands I
ran were for the same account (root).
On Thu, Aug 5, 2010 at 4:14 AM, David Virebayre
wrote:
On Thu, Aug 5, 2010 at 3:29 AM, Ashish Agarwal
wrote: Running 'cabal configure' on one of our code bases gives: package random-1.0.0.2 requires time-1.1.4 package random-1.0.0.2 requires time 1.2.03 ... This happens only on a Debian system, in which I installed the Haskell Platform using apt-get.
Did you also install libraries using cabal ? cabal install in your home directory by default, as a result you can have both global and user packages, and there can be conflicts.
David.
participants (2)
-
Ashish Agarwal
-
David Virebayre