[Haskell-cafe] Can't cabal install darcs because hashed-storage needs 'System'

Daniel McAllansmith dm.maillists at gmail.com
Fri Mar 12 18:05:44 EST 2010


Hello.


Short story:

$ cabal install --global --constraint="old-time>=1.0.0.3.1" --reinstall -v 
darcs


/tmp/hashed-storage-0.4.71127/hashed-storage-0.4.7/Setup.hs:13:7:
    Could not find module `System':
      Use -v to see a list of the files searched for.


This is using GHC 6.12.1, cabal-install 0.8.0 and Cabal 1.8.0.2

How do I get darcs installed?


Longer story:

I've been trying to install darcs 2.4 built against a patched version of old-
time, 1.0.0.3.1 is effectively 1.0.0.4 just that it's patched locally because 
1.0.0.4 hasn't been released to hackage yet.

I ran into various problems with global vs. user packages, no version of base 
being valid and a few other bits and pieces.  So I am trying a global install 
and have had to reinstall Cabal (and various other packages), presumably 
because it was built against old-time 1.0.0.3.

Looking at the hashed-storage code it imports System (system, exitWith).  Is 
that old base-3 code?

The debug messages show:

selecting base-3.0.3.2 (installed) and 4.2.0.0 (installed)

and

/usr/local/bin/ghc --make /tmp/hashed-storage-0.4.71127/hashed-
storage-0.4.7/Setup.hs -o /tmp/hashed-storage-0.4.71127/hashed-
storage-0.4.7/dist/setup/setup -odir /tmp/hashed-storage-0.4.71127/hashed-
storage-0.4.7/dist/setup -hidir /tmp/hashed-storage-0.4.71127/hashed-
storage-0.4.7/dist/setup -i -i/tmp/hashed-storage-0.4.71127/hashed-
storage-0.4.7 -package Cabal-1.8.0.2

so I'm not really sure what version of base it's actually trying to compile 
hashed-storage against.

Any further information I can provide?


Thanks
Dan


More information about the Haskell-Cafe mailing list