My notes on using 2.06 --- compiling and installing --- are as
follows.

Note that this is on a Linux box, compiling with the old 0.29.

1) The first crash was on "gmake boot"; the system complained that it
could not find the "unlit" command.  I had to go into the
"utils/unlit" directory by hand and do a make before it could
succeed.

2) The system crashed during "gmake boot" with the following error:

==fptools== gmake boot;
 in /usr/src/ghc/fptools/ghc/docs/users_guide
------------------------------------------------------------------------
../../../literate/mkdependlit -o .depend    user.lit
No file `2-06-notes.lit' along LITINPUTS path `.'
./release.lit:30: Couldn't handle: \input{2-06-notes.lit}
mkdependlit: error(s) from prefilter pipe
gmake[3]: *** [depend] Error 1
gmake[2]: *** [boot] Error 2
gmake[1]: *** [boot] Error 2
gmake: *** [boot] Error 2
[root@hudson fptools]# find . -name 2-06-notes.lit -ls
[root@hudson fptools]# 

----------------------------------------------------------------
I cured it by going into the appropriate directory and creating a
"2-06-notes.lit" file, which duplicated the "2-04-notes.lit" file with
a caustic comment at the beginning.

3) I got another error during "gmake boot" on "hscp", or whatever the
damn thing is.  I cured *it* by going into the parent "utils"
directory and doing a "gmake all" by hand.

4) The changes to the Make files were insufficient; I had to use the
"ProjectsToBuild" workaround.

5) Files that needed more heap:

PrelTup
ArrBase
PrelRead
IOHandle
IO
Complex
Time
Number
SocketPrim
Cubic_Spline
SetMap

6) When all was said and done, and "gmake install" run, I encountered
the following error when trying to run the compiler:

gcc: /usr/src/ghc/lib/lib/TopClosure.o: No such file or directory

Investigation shows that TopClosure.o exists under the fptools
directory; I suspect a problem with the install make file.  Cured by
hand-copying from the ghc/runtime/main directory to the lib
directory.

7) After the copy, the final compile/link dies with:

ld: cannot open -lHSrts: No such file or directory

And this I don't know how to cure, so I'm stuck.

Willing to do what is necessary............

                                        Dave Barton <*>
                                        [EMAIL PROTECTED] )0(
                                        http://www.intermetrics.com/~dlb

Reply via email to