Thanks! I forgot to cc Kathleen herself, so I'm now doing so. Assuming that's the problem, does it reflect a bug in Cabal, or GHC, or what? And if so, can someone make a ticket?]
Thanks Simon From: José Pedro Magalhães [mailto:[email protected]] Sent: 23 February 2010 15:10 To: Bayley, Alistair Cc: Simon Peyton-Jones; GHC users; [email protected] Subject: Re: Installing syb(-0.1.03) package in head version of Haskell I'm guessing that is indeed the problem, though I cannot reproduce the error (but I'm using Cabal-1.8.0.2). Assuming this is the cause of the problem, what is the best correction? Encoding the cabal file as UTF-8 or removing the accent? Do earlier versions of cabal deal well with UTF-8?... Cheers, Pedro On Tue, Feb 23, 2010 at 16:05, Bayley, Alistair <[email protected]<mailto:[email protected]>> wrote: Just a wild guess, but the package description has this non-ascii text: author: Ralf Lämmel, Simon Peyton Jones It could well be Latin-1 encoded, rather than UTF8. Try editing the author field to this: author: Ralf Laemmel, Simon Peyton Jones and rebuilding/installing. > -----Original Message----- > From: > [email protected]<mailto:[email protected]> > [mailto:[email protected]<mailto:[email protected]>] > On Behalf > Of Simon Peyton-Jones > Sent: 23 February 2010 14:32 > To: GHC users > Cc: [email protected]<mailto:[email protected]> > Subject: FW: Installing syb(-0.1.03) package in head version > of Haskell > > 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:[email protected]<mailto:[email protected]>] > 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 [email protected]<mailto:[email protected]> > 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 > <[email protected]<mailto:[email protected]>> > > Date: February 11, 2010 2:28:20 PM PST > > To: [email protected]<mailto:[email protected]> > > 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 > > > > ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** _______________________________________________ Glasgow-haskell-users mailing list [email protected]<mailto:[email protected]> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
