FW: Installing syb(-0.1.03) package in head version of Haskell
Simon Peyton-Jones
simonpj at microsoft.com
Tue Feb 23 09:31:37 EST 2010
Friends
Can anyone help Kathleen out? She has a cabal-install issue. I think she's on a Mac.
Many thanks
Simon
From: Kathleen Fisher [mailto:kathleen.fisher at gmail.com]
Sent: 16 February 2010 22:54
To: Simon Peyton-Jones
Subject: Fwd: Installing syb(-0.1.03) package in head version of Haskell
Hi Simon,
I'm trying to get the PADS file we were working on compiling under the HEAD version of Haskell, but I'm having trouble getting the Data.Generics module to install. I sent the question below to the libraries at haskell.org<mailto:libraries at haskell.org> last week, but I haven't seen any replies. Is that the right address? Or is there a different place to ask such questions?
Thanks for any pointers!
Kathleen
Begin forwarded message:
From: Kathleen Fisher <kathleen.fisher at gmail.com<mailto:kathleen.fisher at gmail.com>>
Date: February 11, 2010 2:28:20 PM PST
To: libraries at haskell.org<mailto:libraries at haskell.org>
Subject: Installing syb(-0.1.03) package in head version of Haskell
Hi all,
I'm trying to get a program that uses the Data.Generics module to compile under the head version of GHC, but I am having trouble getting the syb package installed.
I believe I am using the most recent version of cabal:
kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal --version
cabal-install version 0.8.0
using version 1.8.0.1 of the Cabal library
When I ask cabal to install the syb package, I get the following error:
kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc
Resolving dependencies...
Downloading mtl-1.1.0.2...
Configuring mtl-1.1.0.2...
Preprocessing library mtl-1.1.0.2...
...
Registering syb-0.1.0.3...
cabal: ghc-pkg: <stdin>: hGetContents: invalid argument (invalid UTF-8 byte
sequence)
cabal: Error: some packages failed to install:
language-c-quote-0.1 depends on syb-0.1.0.3 which failed to install.
syb-0.1.0.3 failed during the building phase. The exception was:
exit: ExitFailure 1
The full trace is included below.
Here's the version information for the ghc I am running.
Kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/sw/ghc-head/bin/ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.13.20100210
The cabal website suggests sending questions to this list...
Any suggestions for how to fix this problem?
Kathleen
kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc
Resolving dependencies...
Downloading mtl-1.1.0.2...
Configuring mtl-1.1.0.2...
Preprocessing library mtl-1.1.0.2...
Building mtl-1.1.0.2...
...stuff deleted...
src/Data/Generics.hs:40:1:
Warning: The import of `Prelude' is redundant
except perhaps to import instances from `Prelude'
To import instances alone, use: import Prelude()
Registering syb-0.1.0.3...
cabal: ghc-pkg: <stdin>: hGetContents: invalid argument (invalid UTF-8 byte
sequence)
cabal: Error: some packages failed to install:
language-c-quote-0.1 depends on syb-0.1.0.3 which failed to install.
syb-0.1.0.3 failed during the building phase. The exception was:
exit: ExitFailure 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100223/8baa3216/attachment-0001.html
More information about the Glasgow-haskell-users
mailing list