No subject


Thu Jul 5 12:38:43 CEST 2012


, by a "cabal install cabal-install".

Didn't help much, still stuck. Any hints?

I find that library issues like this with cabal are the biggest time-soak I=
 have with using Haskell, and I usually have to abandon attempts to try som=
e new library for various examples.

"Ghc-pkg check" lists lots of warnings, but all from haddock-html or haddoc=
k-interface; not sure what to make of that but I think it just means that s=
omehow documentation was not installed for these packages.

>>cabal -V
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library
GHCi version 7.4.1
HaskellPlatform-2012.2.0.0
-------------------------------------------



--_000_08EF9DA445C4B5439C4733E1F35705BA01E265DD13B5MAILcsmumed_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:dt=3D"uuid:C2F4101=
0-65B3-11d1-A29F-00AA00C14882" xmlns:m=3D"http://schemas.microsoft.com/offi=
ce/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=
=3D"Microsoft Theme 2.00" content=3D"Clear Day 011"><meta http-equiv=3DCont=
ent-Type content=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator c=
ontent=3D"Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I am (again) run=
ning into cabal install issues; which have been all too common for me.<o:p>=
</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In=
 this case as an example, I tried this:<o:p></o:p></p><p class=3DMsoNormal>=
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:\Users\haskell&gt;Cabal install buil=
dwrapper<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=
&#8230;..<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; build=
wrapper-0.6.0 depends on regex-tdfa-1.1.8 which failed to install.<o:p></o:=
p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-tdfa-1.1.8 failed=
 during the building phase. The exception was:<o:p></o:p></p><p class=3DMso=
Normal>&nbsp;&nbsp;&nbsp;&nbsp; ExitFailure 1<o:p></o:p></p><p class=3DMsoN=
ormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>So I tried this:<o:p></o:p>=
</p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; C:\Users\haskell&gt;cabal=
 install regex-tdfa<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&n=
bsp; Resolving dependencies...<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nb=
sp;&nbsp;&nbsp; In order, the following would be installed:<o:p></o:p></p><=
p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-base-0.93.2 (reinstall) =
changes: array-0.3.0.2 -&gt; 0.4.0.0, base-4.3.1.0<o:p></o:p></p><p class=
=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; -&gt; 4.5.0.0, bytestring-0.9.1.10 -&=
gt; 0.9.2.1, containers-0.4.0.0 -&gt; 0.4.2.1,<o:p></o:p></p><p class=3DMso=
Normal>&nbsp;&nbsp;&nbsp;&nbsp; mtl-2.0.1.0 -&gt; 2.1.2<o:p></o:p></p><p cl=
ass=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-tdfa-1.1.8 (new package)<o:p=
></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; cabal: The followi=
ng packages are likely to be broken by the reinstalls:<o:p></o:p></p><p cla=
ss=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-posix-0.95.1<o:p></o:p></p><p=
 class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-compat-0.95.1<o:p></o:p><=
/p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; haskell-platform-2011.3.0.=
0<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-posix-0=
.94.4<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; regex-com=
pat-0.93.1<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; hask=
ell-platform-2011.2.0.1<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbs=
p;&nbsp; regex-posix-0.95.1<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;=
&nbsp;&nbsp; regex-compat-0.95.1<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&=
nbsp;&nbsp;&nbsp; haskell-platform-2012.2.0.0<o:p></o:p></p><p class=3DMsoN=
ormal>&nbsp;&nbsp;&nbsp;&nbsp; Use --force-reinstalls if you want to instal=
l anyway.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=
=3DMsoNormal>So what to do?<o:p></o:p></p><p class=3DMsoNormal>Last time I =
got into a situation like this I tried to start-over with cabal, remove all=
 local cache and rebuild the library.<o:p></o:p></p><p class=3DMsoNormal><s=
pan style=3D'font-size:10.0pt;font-family:"Courier New"'>From a suggestion =
in SO; delete the ~/ghc &amp; ~/cabal files and restart cabal, by a &quot;c=
abal install cabal-install&quot;.<o:p></o:p></span></p><p class=3DMsoNormal=
><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:=
p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fami=
ly:"Courier New"'>Didn&#8217;t help much, still stuck. Any hints?<o:p></o:p=
></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Courier New"'>I find that library issue=
s like this with cabal are the biggest time-soak I have with using Haskell,=
 and I usually have to abandon attempts to try some new library for various=
 examples.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&#8=
220;Ghc-pkg check&#8221; lists lots of warnings, but all from haddock-html =
or haddock-interface; not sure what to make of that but I think it just mea=
ns that somehow documentation was not installed for these packages.<o:p></o=
:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fam=
ily:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span s=
tyle=3D'font-size:10.0pt;font-family:"Courier New"'>&gt;&gt;cabal -V<o:p></=
o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:"Courier New"'>cabal-install version 0.14.0<o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>=
using version 1.14.0 of the Cabal library<o:p></o:p></span></p><p class=3DM=
soNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>GHCi ve=
rsion 7.4.1<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-s=
ize:10.0pt;font-family:"Courier New"'>HaskellPlatform-2012.2.0.0</span><o:p=
></o:p></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt'>----------=
---------------------------------<br><br></span><o:p></o:p></p><p class=3DM=
soNormal><o:p>&nbsp;</o:p></p></div></body></html>=

--_000_08EF9DA445C4B5439C4733E1F35705BA01E265DD13B5MAILcsmumed_--



More information about the Beginners mailing list