<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Hit this compiling darcs on a new machine. . . . But it may be more
generic to Haskell platform itself. Bottom line, it presents a
situation where someone could end up dead-in-the-water with respect
to using haskell libraries. I burned a lot of time tracking this
down, it may discourage users from the platform.<br>
<br>
The problem manifests itself when your Win32 home directory has a
long name (or one with a space) and you're compiling haskeline,
linking on the 15th step. Basically, ld.exe croaks when fed one of
these names rather than an 8.3<br>
<br>
I can provide more specific details on the point of failure on
request; but it was a pain to track down. Maybe a change to the
linker, or some specific project, may get rid of the 8.3 dependency.<br>
<br>
A solution that got me out was to enable 8.3 on the volume, and on
the user directory.<br>
<br>
A fix:<br>
Logging in as a *different* user:<br>
<br>
Open a command prompt with Administrator priveleges<br>
<br>
<br>
<div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium;">fsutil 8dot3name query c:</div>
(tells you the current status - you probably see a 2 -
volume-select of the feature)<br>
<br>
<div><span style="color: rgb(0, 0, 0); font-family: Tahoma;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; display: inline !important; float:
none;">fsutil 8dot3name set c: 1</span><br>
</div>
(This sets volume c to create 8.3 names - for future files only)<br>
<br>
<div><span style="color: rgb(0, 0, 0); font-family: Tahoma;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; display: inline !important; float:
none;">fsutil file setshortname "c:\Users\YouHaveA
VeryBigName" YOUHAV~1</span></div>
(This only works if you're not logged in as 'YouHaveA
VeryBigName', otherwise the directory will be in-use). You need
this step as even though you've changed the policy on 8.3 naming,
this directory was probably made during the prior policy)<br>
<br>
dir /-n<br>
(This shows you the 8.3-sensitive names. You see YOUHAV~1 in the
list, you got it right)<br>
<br>
The user may need to uninstall and reinstall haskell-platform, and
wipe all Cabal and GHC directories under AppData/Roaming<br>
<br>
<br>
<br>
</div>
<br>
<br>
<br>
</body>
</html>