1) I did an Ubuntu purge followed by an install. Afterwards I rebuilt ghc 6.8.2. The same d*mn "unknown package: unix-2.3.0.0" message when I try to build
unix
and
bytestring via runhaskell Setup.hs configure.
2) This strongly looks like the package database manager, i.e. ghc-pkg. Source please so I can understand where this d*amn "unknown package: unix-2.3.0.0" message is coming from and why?
3) Serious rant mode on ... I am a computer industry veteran(decades) who is trying to convince, coggle, etc. younger colleagues about the usefulness of FPLs for correctness, etc, and then => "unknown package ....".
V.
I suspect the Cabal stuff has a dependency on the unix package (at least on POSIXish systems, probably via the filepath stuff) and by deregistering unix-2.3.0.0 which Cabal was built against you broke it. Probably you need to do a full reinstall of GHC to recover at this point.
On Apr 12, 2008, at 12:27 , Galchin, Vasili wrote:
vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs cleanup
unknown package: unix-2.3.0.0
no it doesn't.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH