On Fri, Apr 11, 2008 at 4:45 PM, Galchin, Vasili <[EMAIL PROTECTED]> wrote:
> Right I am just trying to rebuild the unix package. No matter what version > is present in the unix.cabal file, > > runhaskell Setup.hs configure > > produces an error concerning unix-2.3.0.0 > Have you tried doing a 'runhaskell Setup.hs clean' first? You should also try unregistering the unix-2.3 package (ghc-pkg unregister unix-2.3.0.0). > > Starting to get really frustrated over this. I just want to build a Unix > package test case .. and now I can't even build the unix package itself. > > ghc-pkg seems to be at the center of this problem because the problem > seems to have to deal with the package database. > > 1) On Linux(Ubuntu) where is the package database? > The global package database should be somewhere like /usr/lib/ghc-6.6.1/package.conf on my system it is in /usr/local/lib/ghc-6.8.2/package.conf. The local (user) package database is in something like ~/.ghc/i386-linux-version/package.conf. > 2) If ghc-pkg is indeed a Haskell program, how can I get the source to > better understand the problem I am encountering on my own? > It is part of the ghc source, in utils/ghc-pkg. -Brent
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe