error with package ghc-6.10.1 and its dependency on process-1.0.1.[01]

allan a.d.clark at ed.ac.uk
Tue Nov 25 12:45:51 EST 2008


Hi Thomas

Sorry, I have *just* this second finished doing a re-install.
Basically I deleted my local lib directory and my ~/.ghc directory.
I then did a re-install of 'ghc 6.10.1'
The good news is everything worked as it should.
I've now got the latest haddock installed and cabal-install is working exactly as it should.
The bad news is of course I now have no way of providing you with extra debugging information.

I did however not completely delete my old ~/.ghc directory but move it out of the way. So is it possible I could do a similar thing with --package-db.
Here's a transcript (note the directory is ~/.ghc.bck):

]allan at delgado:~/.ghc.bck/i386-linux-6.10.1$ cabal install haddock --package-db ./package.conf 
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
allan at delgado:~/.ghc.bck/i386-linux-6.10.1$ cabal install haddock --package-db ./package.conf --user
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
allan at delgado:~/.ghc.bck/i386-linux-6.10.1$ 


regards
allan


Thomas Schilling wrote:
> 2008/11/25 allan <a.d.clark at ed.ac.uk>:
>> Hi Duncan and Thomas

> haskell98 also creates a transitive dependency on process and also
> shadows the system one.
> 
> What happens if you do
> 
>   # cabal install -v --global haddock
> 
> This should ignore all the user packages.  There's definitely room for
> improvement in cabal-install here.
> 

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the cabal-devel mailing list