I&#39;m guessing that is indeed the problem, though I cannot reproduce the error (but I&#39;m using Cabal-1.8.0.2).<br><br>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?...<br>

<br><br>Cheers,<br>Pedro<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 16:05, Bayley, Alistair <span dir="ltr">&lt;<a href="mailto:Alistair.Bayley@invesco.com">Alistair.Bayley@invesco.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just a wild guess, but the package description has this non-ascii text:<br>
<br>
author:                 Ralf Lämmel, Simon Peyton Jones<br>
<br>
It could well be Latin-1 encoded, rather than UTF8.<br>
<br>
Try editing the author field to this:<br>
<br>
author:                 Ralf Laemmel, Simon Peyton Jones<br>
<br>
and rebuilding/installing.<br>
<div><div></div><div class="h5"><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:glasgow-haskell-users-bounces@haskell.org">glasgow-haskell-users-bounces@haskell.org</a><br>
&gt; [mailto:<a href="mailto:glasgow-haskell-users-bounces@haskell.org">glasgow-haskell-users-bounces@haskell.org</a>] On Behalf<br>
&gt; Of Simon Peyton-Jones<br>
&gt; Sent: 23 February 2010 14:32<br>
&gt; To: GHC users<br>
&gt; Cc: <a href="mailto:cvs-ghc@haskell.org">cvs-ghc@haskell.org</a><br>
&gt; Subject: FW: Installing syb(-0.1.03) package in head version<br>
&gt; of Haskell<br>
&gt;<br>
&gt; Friends<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Can anyone help Kathleen out?  She has a cabal-install issue.<br>
&gt;  I think she&#39;s on a Mac.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Many thanks<br>
&gt;<br>
&gt;<br>
&gt; Simon<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: Kathleen Fisher [mailto:<a href="mailto:kathleen.fisher@gmail.com">kathleen.fisher@gmail.com</a>]<br>
&gt; Sent: 16 February 2010 22:54<br>
&gt; To: Simon Peyton-Jones<br>
&gt; Subject: Fwd: Installing syb(-0.1.03) package in head version<br>
&gt; of Haskell<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi Simon,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m trying to get the PADS file we were working on compiling<br>
&gt; under the HEAD version of Haskell, but I&#39;m having trouble<br>
&gt; getting the Data.Generics module to install. I sent the<br>
&gt; question below to the <a href="mailto:libraries@haskell.org">libraries@haskell.org</a> last week, but I<br>
&gt; haven&#39;t seen any replies.  Is that the right address?  Or is<br>
&gt; there a different place to ask such questions?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks for any pointers!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Kathleen<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Begin forwarded message:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: Kathleen Fisher &lt;<a href="mailto:kathleen.fisher@gmail.com">kathleen.fisher@gmail.com</a>&gt;<br>
&gt;<br>
&gt; Date: February 11, 2010 2:28:20 PM PST<br>
&gt;<br>
&gt; To: <a href="mailto:libraries@haskell.org">libraries@haskell.org</a><br>
&gt;<br>
&gt; Subject: Installing syb(-0.1.03) package in head version of Haskell<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m trying to get a program that uses the Data.Generics<br>
&gt; module to compile under the head version of GHC, but I am<br>
&gt; having trouble getting the syb package installed.<br>
&gt;<br>
&gt; I believe I am using the most recent version of cabal:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote&gt;~/<br>
&gt; .cabal/bin/cabal --version<br>
&gt;<br>
&gt;       cabal-install version 0.8.0<br>
&gt;<br>
&gt;       using version 1.8.0.1 of the Cabal library<br>
&gt;<br>
&gt;<br>
&gt; When I ask cabal to install the syb package, I get the<br>
&gt; following error:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote&gt;~/<br>
&gt; .cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc<br>
&gt;<br>
&gt;       Resolving dependencies...<br>
&gt;<br>
&gt;       Downloading mtl-1.1.0.2...<br>
&gt;<br>
&gt;       Configuring mtl-1.1.0.2...<br>
&gt;<br>
&gt;       Preprocessing library mtl-1.1.0.2...<br>
&gt;<br>
&gt;       ...<br>
&gt;<br>
&gt;       Registering syb-0.1.0.3...<br>
&gt;<br>
&gt;       cabal: ghc-pkg: &lt;stdin&gt;: hGetContents: invalid argument<br>
&gt; (invalid UTF-8 byte<br>
&gt;<br>
&gt;       sequence)<br>
&gt;<br>
&gt;       cabal: Error: some packages failed to install:<br>
&gt;<br>
&gt;       language-c-quote-0.1 depends on syb-0.1.0.3 which<br>
&gt; failed to install.<br>
&gt;<br>
&gt;       syb-0.1.0.3 failed during the building phase. The exception was:<br>
&gt;<br>
&gt;       exit: ExitFailure 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The full trace is included below.<br>
&gt;<br>
&gt; Here&#39;s the version information for the ghc I am running.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote&gt;~/<br>
&gt; sw/ghc-head/bin/ghc --version<br>
&gt;<br>
&gt;       The Glorious Glasgow Haskell Compilation System,<br>
&gt; version 6.13.20100210<br>
&gt;<br>
&gt;<br>
&gt; The cabal website suggests sending questions to this list...<br>
&gt;<br>
&gt; Any suggestions for how to fix this problem?<br>
&gt;<br>
&gt; Kathleen<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote&gt;~/<br>
&gt; .cabal/bin/cabal install -w ~/sw/ghc-head/bin/ghc<br>
&gt;<br>
&gt;       Resolving dependencies...<br>
&gt;<br>
&gt;       Downloading mtl-1.1.0.2...<br>
&gt;<br>
&gt;       Configuring mtl-1.1.0.2...<br>
&gt;<br>
&gt;       Preprocessing library mtl-1.1.0.2...<br>
&gt;<br>
&gt;       Building mtl-1.1.0.2...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;       ...stuff deleted...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;       src/Data/Generics.hs:40:1:<br>
&gt;<br>
&gt;          Warning: The import of `Prelude&#39; is redundant<br>
&gt;<br>
&gt;                     except perhaps to import instances from `Prelude&#39;<br>
&gt;<br>
&gt;                   To import instances alone, use: import Prelude()<br>
&gt;<br>
&gt;       Registering syb-0.1.0.3...<br>
&gt;<br>
&gt;       cabal: ghc-pkg: &lt;stdin&gt;: hGetContents: invalid argument<br>
&gt; (invalid UTF-8 byte<br>
&gt;<br>
&gt;       sequence)<br>
&gt;<br>
&gt;       cabal: Error: some packages failed to install:<br>
&gt;<br>
&gt;       language-c-quote-0.1 depends on syb-0.1.0.3 which<br>
&gt; failed to install.<br>
&gt;<br>
&gt;       syb-0.1.0.3 failed during the building phase. The exception was:<br>
&gt;<br>
&gt;       exit: ExitFailure 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>*****************************************************************<br>
Confidentiality Note: The information contained in this message,<br>
and any attachments, may contain confidential and/or privileged<br>
material. It is intended solely for the person(s) or entity to<br>
which it is addressed. Any review, retransmission, dissemination,<br>
or taking of any action in reliance upon this information by<br>
persons or entities other than the intended recipient(s) is<br>
prohibited. If you received this in error, please contact the<br>
sender and delete the material from any computer.<br>
*****************************************************************<br>
<br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote></div><br>