Ticket #70 (closed defect: fixed)
gmake install fails when building cabal-install
| Reported by: | guest | Owned by: | ijones |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | cabal-install tool | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | normal | |
| GHC Version: | 6.2.1 | Platform: | Linux |
Description
When doing 'gmake install' for cabal i got via darcs on a FreeBSD System, the following error happens:
Building cabal-install-1.1.4... Chasing modules from: CabalInstall.hs Could not find module `Distribution.Compat.FilePath': it is hidden (in package Cabal-1.1.4) (imported from CabalInstall.hs)
The following patch solved the problem for me (though it's probably not a real solution):
diff -rN -u old-cabal/package.conf.in new-cabal/package.conf.in
--- old-cabal/package.conf.in Wed Apr 12 22:15:40 2006
+++ new-cabal/package.conf.in Thu Apr 13 18:01:51 2006
@@ -32,13 +32,13 @@
Distribution.Simple.Register,
Distribution.Simple.SrcDist,
Distribution.Simple.Utils,
+ Distribution.Compat.FilePath,
Language.Haskell.Extension
hidden-modules:
Distribution.GetOpt,
Distribution.Compat.Exception,
Distribution.Compat.RawSystem,
- Distribution.Compat.FilePath,
Distribution.Compat.Directory
Change History
Note: See
TracTickets for help on using
tickets.
