
Hi Haskellers,
I received the following bug report from someone trying to build HOgg
on Fedora Core 6 (FC6) with its ghc66 package. The build error is:
Could not find module `Data.Map':
it is a member of package base, which is hidden
I've built HOgg on Debian unstable with its ghc6.6 package without
problems. I know that non-base libraries have been separated out in
the GHC 6.6 release. Is this problem FC6 specific or a bug in HOgg's
cabal setup? any clues?
cheers,
Conrad.
---------- Forwarded message ----------
From: Ian Malone
HOgg 0.2.0 Released -------------------
The HOgg package provides a commandline tool for manipulating Ogg files, and a corresponding Haskell library.
Can't get it to build on FC6, using their ghc66 package, tried installing hugs98 and haddock as well (although they don't seem to be related to the problem). "Could not find module `Data.Map'" [ian@atlas hogg-0.2.0]$ ./Setup.hs configure Configuring hogg-0.2.0... configure: /usr/bin/ghc-pkg configure: Using install prefix: /usr/local configure: Binaries installed in: /usr/local/bin configure: Libraries installed in: /usr/local/lib/hogg-0.2.0/ghc-6.6 configure: Private binaries installed in: /usr/local/libexec configure: Data files installed in: /usr/local/share/hogg-0.2.0 configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.6 configure: Using package tool: /usr/bin/ghc-pkg configure: Using ar found on system at: /usr/bin/ar configure: Using haddock found on system at: /usr/bin/haddock configure: No pfesetup found configure: Using ranlib found on system at: /usr/bin/ranlib configure: Using runghc found on system at: /usr/bin/runghc configure: Using runhugs found on system at: /usr/bin/runhugs configure: No happy found configure: No alex found configure: Using hsc2hs: /usr/bin/hsc2hs configure: No c2hs found configure: No cpphs found configure: No greencard found [ian@atlas hogg-0.2.0]$ ./Setup.hs build Preprocessing library hogg-0.2.0... Preprocessing executables for hogg-0.2.0... Building hogg-0.2.0... Codec/Container/Ogg/MessageHeaders.hs:17:7: Could not find module `Data.Map': it is a member of package base, which is hidden -- imalone

Hi Conrad, On Mon, Dec 11, 2006 at 09:56:35AM +0900, Conrad Parker wrote:
I received the following bug report from someone trying to build HOgg on Fedora Core 6 (FC6) with its ghc66 package. The build error is:
Could not find module `Data.Map': it is a member of package base, which is hidden
I've built HOgg on Debian unstable with its ghc6.6 package without problems. I know that non-base libraries have been separated out in the GHC 6.6 release. Is this problem FC6 specific or a bug in HOgg's cabal setup? any clues?
Did you comment out the GHC 6.4 Build-Depends: and uncomment the GHC 6.6 Build-Depends:? It sounds like you might have done the commenting out, but not the uncommenting? Thanks Ian

On 16/12/06, Ian Lynagh
Hi Conrad,
On Mon, Dec 11, 2006 at 09:56:35AM +0900, Conrad Parker wrote:
I received the following bug report from someone trying to build HOgg on Fedora Core 6 (FC6) with its ghc66 package. The build error is:
Could not find module `Data.Map': it is a member of package base, which is hidden
<snip>
Did you comment out the GHC 6.4 Build-Depends: and uncomment the GHC 6.6 Build-Depends:? It sounds like you might have done the commenting out, but not the uncommenting?
Basically that's right, it turns out I had uncommented the line: "-- Build-Depends: base, mtl, HUnit" to: " Build-Depends: base, mtl, HUnit" And that leading space still prevents the build system seeing Build-Depends (probably obvious to someone familiar with Cabal). Anyway, the root of the problem became apparent once I knew it was something to do with the base package not being included. Thanks for your time. -- imalone
participants (3)
-
Conrad Parker
-
Ian Lynagh
-
Ian Malone