build-depends

Serge D. Mechveliani mechvel at botik.ru
Thu Dec 22 18:44:18 CET 2011


Dear GHC team,

ghc-7.4.0.20111219  puts the following problem of  build-depends.


docon.cabal  of the DoCon project has

  build-depends:   haskell2010, containers 

And  ghc-7.4.0.20111219  reports
    DExport.hs:28:8:
    Could not find module `Random'
    It is a member of the hidden package `haskell98-2.0.0.1'.
    Perhaps you need to add `haskell98' to the build-depends in your .cabal file.
   
Then, 
  build-depends:   haskell2010, haskell98, containers 

causes   "Parse of field 'build-depends' failed".

Then,
  build-depends:   haskell98, containers 

causes
  VecMatr.hs:49:8:
    Could not find module `Data.List'
    It is a member of the hidden package `base'.
    Perhaps you need to add `base' to the build-depends in your .cabal file.
    It is a member of the hidden package `haskell2010-1.1.0.1'.
    Perhaps you need to add `haskell2010' to the build-depends in your .cabal file.
   
Adding  haskell2010  will cause  "Parse of field 'build-depends' failed."

Adding  base         will cause  

  DExport.hs:26:8:
    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-2.0.0.1


Please, what is a reasonable way out ?

Regards, 

------
Sergei
mechvel at botik.ru



More information about the Glasgow-haskell-users mailing list