John Atwood <[EMAIL PROTECTED]> writes:
>
> I'm trying to install the compiler, but can't get past:
>  
>   GLASGOW_HASKELL_ROOT environment variable is set;
>   But can't untangle /local/fp/lib/ghc/2.01/sparc-sun-solaris2.
>  (Installation error)
>
>
> I fiddled with the perl script a bit, but couldn't see what to change;
> looks to me like /local/fp/... is hardcoded on line about line 115 of
> ghc-2.01.
>
>
> I also tried the env var, but same prob.  
>   

Ignore the stuff about GLASGOW_HASKELL_ROOT, and set $InstLibDirGhc
and $InstDataDirGhc directly (the code for dealing with the env
variable had an attack of bitrot in 2.01) See  

 http://www.dcs.gla.ac.uk/fp/software/ghc/ghc-bugs.html#GLASGOW_HASKELL_ROOT

for a little bit more detail.

>
> Also, the docs say to change 3 scripts, but I find only 2; i'm missing
> hstags.
> 

That's right I'm afraid, hstags didn't make it in time for the 2.01
release.

--Sigbjorn

>
>John Atwood
>--Office phone: 541-737-5583 (Batcheller 349) home: 757-8772
>  Office mail:  303 Dearborn Hall, OSU, Corvallis, OR  97331
>--Frames are evil; see why: http://wwwvoice.com/hatefrm.html
>
>P.S. What have you got against env vars?
>

It's a Religious thing :-), env vars require fiddling on the part the
user, hard(er) to move between builds/compiler versions (which we tend
to do) etc etc.

Reply via email to