Greetings, fellow buggees.  Building 2.04 (on a sun/sparc/solaris2.5 box)
seemed to go relatively smoothly, up until I tried to do "make install",
whereupon the fun really started.  Running into some problems, I decided
to resort to (gasp!) checking the installation guide, only to discover
it was nowhere in sight -- instead, it has to be built from a .lit
file.  Has this changed from recent releases, or did I just fail to
notice as it was being done automatically?

When I tried to build the installation docs, I got the following:

swift.ucc.ie:~/ghc-2.04/build/docs: make installing.dvi
../literate/lit2latex -S -c    -o installing.itex installing.lit
Giant error 'do'ing lit-globals.prl:  at ../literate/lit2latex line 636.
make: *** [installing.tex] Error 2

Problem with my perl version/installation?  I made do by using the
0.29 version of lit2latex, which managed to muddle through.

Back to the actual install:  I get any number of these:

/bin/sh: @echo: not found

This didn't happen earlier in the build, nor with 2.03 install.


But the real head-scratcher is that the install fails with messages like:

for i in libHSposix.a; do \
        /export/home/ferguson/ghc-2.04/build/install-sh -c -m 644  -g ghc-admin  
 $i /usr/local/ghc-2.04/lib; \
done
libHSposix.a:error reading file

But on a different, but supposely identically configured machine, there's
no problem.  Any clues as to what the diagnostic means?  Certainly
the file in question exists, and is the in PWD make's looking at.


And lastly, and probably nothing to do with ghc at all:  has anyone else
noticed that "ar" seems to take an ordinately long time to build the
libraries?  Even with the "q" option, it seems to repeatedly read and
write the whole thing several times, which for the epicly huge profiling
libraries is positively painful.  Do I have a suspect archiver, or is
this par for the course:

In pain,
Alex.

Reply via email to