gmake install fails when building cabal-install #77

Closed
bos opened this Issue May 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

bos commented May 24, 2012

(Imported from Trac #70, reported by guest on 2006-04-13)

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

@ghost ghost assigned SyntaxPolice May 24, 2012

@bos bos closed this May 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment