Alex Ferguson writes:
> 
> 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?
> 

Source releases don't include pre-generated docs, just the binary
bundles.


> 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
> 

I'm assuming this is ghc-2.04-pl2 .. what does `head lit2latex`
report? 

> 
> /bin/sh: @echo: not found
> 
> This didn't happen earlier in the build, nor with 2.03 install.
> 

A couple of these sillies existed in pl1, but I cannot see that
there's any of them left in pl2; where/when did it happen during
`make install' ?

> 
> 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:
> 

This might be due to an xargs with a pitifully small argv buffer, GNU
xargs (from GNU findutils) is recommended. If you're already using it,
tweaking the source to use a larger buffer is not hard... alternatively,
disable splitting.  

--Sigbjorn

Reply via email to