Trouble compiling collections-0.3 (from Hackage)

Hi, I am not able to build collections-0.3 because on an error. I hope someone can give me a hint. Below, please find a short transcript with various version information. Cheers, David [david@congo ~]$ cd Desktop/collections-0.3 [david@congo collections-0.3]$ runghc Setup.hs configure Configuring collections-0.3... [david@congo collections-0.3]$ runghc Setup.hs build Preprocessing library collections-0.3... Building collections-0.3... Data/Collections.hs:154:17: Could not find module `Data.ByteString.Lazy': it is a member of package bytestring-0.9.0.4, which is hidden [david@congo collections-0.3]$ uname -a Linux congo 2.6.16-1.2111_FC5 #1 SMP Thu May 4 21:16:04 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux [david@congo collections-0.3]$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2 [david@congo collections-0.3]$ ghc-pkg list /usr/local/lib/ghc-6.8.2/package.conf: ALUT-2.1.0.0, Cabal-1.2.3.0, GLUT-2.1.1.1, HUnit-1.2.0.0, OpenAL-1.3.1.1, OpenGL-2.2.1.1, QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0, bytestring-0.9.0.1, bytestring-0.9.0.4, cgi-3001.1.5.1, containers-0.1.0.1, directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, (ghc-6.8.2), haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1, mtl-1.1.0.0, network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0, packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0, pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0, regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2, rts-1.0, stm-2.1.1.0, template-haskell-2.2.0.0, time-1.1.2.0, unix-2.3.0.0, xhtml-3000.0.2.1 [david@congo collections-0.3]$

Thanks for the tip. I edited the collections.cabal file to add "bytestring" to the Build-depends. It also needed "containers" and "array"! The build gave streams of warnings and finally failed, so I guess this library is not ready for use. On Apr 26, 2008, at 5:30 PM, Jake Mcarthur wrote:
On Apr 26, 2008, at 4:25 PM, David F. Place wrote:
Data/Collections.hs:154:17: Could not find module `Data.ByteString.Lazy': it is a member of package bytestring-0.9.0.4, which is hidden
In the .cabal file, add "bytestring" to the dependencies property.
- Jake
___________________ (---o-------o-o-o---o-o-o----( David F. Place mailto:d@vidplace.com

On Apr 27, 2008, at 12:16 , David F. Place wrote:
Thanks for the tip. I edited the collections.cabal file to add "bytestring" to the Build-depends. It also needed "containers" and "array"! The build gave streams of warnings and finally failed, so I guess this library is not ready for use.
That's a red flag for a library that doesn't support the major library changes that happened with ghc 6.8.2. (It will work with ghc 6.6.1.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

David F. Place wrote:
Thanks for the tip. I edited the collections.cabal file to add "bytestring" to the Build-depends. It also needed "containers" and "array"! The build gave streams of warnings and finally failed, so I guess this library is not ready for use.
I don't think anyone is interested in working on this or maintaining it, so it's probably best not to use it for new stuff. Regards -- Adrian Hey
participants (4)
-
Adrian Hey
-
Brandon S. Allbery KF8NH
-
David F. Place
-
Jake Mcarthur