<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Friends<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Can anyone help Kathleen out? She has a cabal-install issue. I
think she’s on a Mac.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Many thanks<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><br>
Simon<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Kathleen Fisher
[mailto:kathleen.fisher@gmail.com] <br>
<b>Sent:</b> 16 February 2010 22:54<br>
<b>To:</b> Simon Peyton-Jones<br>
<b>Subject:</b> Fwd: Installing syb(-0.1.03) package in head version of Haskell<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hi Simon,<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>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 <a
href="mailto:libraries@haskell.org">libraries@haskell.org</a> last week, but I
haven't seen any replies. Is that the right address? Or is there a
different place to ask such questions?<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Thanks for any pointers!<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Kathleen<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>Begin forwarded message:<o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>From:
</span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Kathleen
Fisher <<a href="mailto:kathleen.fisher@gmail.com">kathleen.fisher@gmail.com</a>></span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Date:
</span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>February
11, 2010 2:28:20 PM PST</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>To:
</span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><a
href="mailto:libraries@haskell.org">libraries@haskell.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Subject:
Installing syb(-0.1.03) package in head version of Haskell</span></b><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>Hi all,<br>
<br>
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. <br>
<br>
I believe I am using the most recent version of cabal:<br>
<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal
--version<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>cabal-install version 0.8.0<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>using version 1.8.0.1 of the Cabal library <o:p></o:p></p>
</blockquote>
<p class=MsoNormal><br>
When I ask cabal to install the syb package, I get the following error:<br>
<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal
install -w ~/sw/ghc-head/bin/ghc<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Resolving dependencies...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Downloading mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Configuring mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Preprocessing library mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Registering syb-0.1.0.3...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>cabal: ghc-pkg: <stdin>: hGetContents: invalid
argument (invalid UTF-8 byte<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>sequence)<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>cabal: Error: some packages failed to install:<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>language-c-quote-0.1 depends on syb-0.1.0.3 which failed to
install.<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>syb-0.1.0.3 failed during the building phase. The exception
was:<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>exit: ExitFailure 1<o:p></o:p></p>
</blockquote>
<p class=MsoNormal><br>
<br>
The full trace is included below.<br>
<br>
Here's the version information for the ghc I am running.<br>
<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>Kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/sw/ghc-head/bin/ghc
--version<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>The Glorious Glasgow Haskell Compilation System, version
6.13.20100210<o:p></o:p></p>
</blockquote>
<p class=MsoNormal><br>
The cabal website suggests sending questions to this list...<br>
<br>
Any suggestions for how to fix this problem?<br>
<br>
Kathleen<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>kfisher-laptop:/Users/kfisher/pads/dirpads/language-c-quote>~/.cabal/bin/cabal
install -w ~/sw/ghc-head/bin/ghc<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Resolving dependencies...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Downloading mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Configuring mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Preprocessing library mtl-1.1.0.2...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Building mtl-1.1.0.2...<o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><span style='color:#1F497D'>...stuff deleted...</span><o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><o:p> </o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>src/Data/Generics.hs:40:1:<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal> Warning: The import of `Prelude' is
redundant<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal> except
perhaps to import instances from `Prelude'<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal> To
import instances alone, use: import Prelude()<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>Registering syb-0.1.0.3...<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>cabal: ghc-pkg: <stdin>: hGetContents: invalid
argument (invalid UTF-8 byte<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>sequence)<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>cabal: Error: some packages failed to install:<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>language-c-quote-0.1 depends on syb-0.1.0.3 which failed to
install.<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>syb-0.1.0.3 failed during the building phase. The exception
was:<o:p></o:p></p>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal>exit: ExitFailure 1<o:p></o:p></p>
</blockquote>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>