[Haskell-cafe] what appears to be a persistent problem for me ..

Galchin, Vasili vigalchin at gmail.com
Mon May 26 02:12:47 EDT 2008


       I seem to have recovered from my Ubuntu problems by installing the
ghc binary from http://www.haskell.org. However, if I modify a .cabal file,
e.g. unix.cabal, then "runhaskell Setup.hs build" is always in the
"re-configure" state even if I do a "runhaskell Setup.hs configure" ... It
seems the re-configure state is determined by:

-- |Check that localBuildInfoFile is up-to-date with respect to the
-- .cabal file.
checkPersistBuildConfig :: FilePath -> IO ()
checkPersistBuildConfig pkg_descr_file = do
  t0 <- getModificationTime pkg_descr_file
  t1 <- getModificationTime localBuildInfoFile
  when (t0 > t1) $
    die (pkg_descr_file ++ " has been changed, please re-configure.")

in /ghc-6.8.2/libraries/Cabal/Distribution/Simple. ??

Kind regards, Vasili
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080526/9ad2241a/attachment.htm

More information about the Haskell-Cafe mailing list