Sigbjorn:
> I'm assuming this is ghc-2.04-pl2 ..

It is, or rather ghc-2.04, pacthed to that level.  Mind you, I did have
to struggle somewhat in applying the patches, as different versions of
"patch" seemed to take a varying, and occassionally highly dim viw of
how to apply them.  So a foul-up on my part is not to be ruled out.

> what does `head lit2latex` report? 

It sez:

#!/usr/local/bin/perl
$TMPDIR="/tmp";
$LIB_ARCH_DIR="/amd/church/ogi/staff/simonpj/BUILDS/spj-working/literate";
$LIB_DIR="/amd/church/ogi/staff/simonpj/BUILDS/spj-working/literate";
$TGRIND_HELPER="/usr/local/lib/tgrind/tfontedpr ";
#
# This perl script needs the definition of a few `make'
# variables to make sense (normally added when `make'ing
# it). They are:
#

Hrm, does look a bit fishy...

> > /bin/sh: @echo: not found

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

Incessantly.  Example (first place it crops up on re-running on an
already installed machine, to be exact):

rm -f hscpp
Creating hscpp...
Done.
/bin/sh: @echo: not found
/export/home/ferguson/ghc-2.04/build/install-sh -c -g ghc-admin hscpp 
/usr/local/ghc-2.04/lib

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

I'm using the GNU version, that was the first thing I checked.
All the time seem to be spent in (one single) ar command, so I don't
think xargs is the problem, un;ess I misinterpret what occurs.

All the above is history, largely, so if it's just a problem with
my setup, then no real worries.  But --

Bonus problem:

Had more hassles trying to rebuild the documentation:

joyce:~/ghc-2.04/build/ghc/docs/users_guide: gnumake install
------------------------------------------------------------------------
===fptools== Recursively making `install' for ways: p ...
PWD = /export/home/ferguson/ghc-2.04/build/ghc/docs/users_guide
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== gnumake way=p install;
PWD = /export/home/ferguson/ghc-2.04/build/ghc/docs/users_guide
------------------------------------------------------------------------
gnumake[1]: Nothing to be done for `install'.
------------------------------------------------------------------------
===fptools== Finished recursively making `install' for ways: p ...
PWD = /export/home/ferguson/ghc-2.04/build/ghc/docs/users_guide
------------------------------------------------------------------------

Doesn't actually build anything.  Do I need to twiddle the target/ways
for this?  Couldn't see any mention of this in the (other) docs; maybe
it's documented in the stuff I'm trying to build. ;-)

Doing:
joyce:~/ghc-2.04/build/ghc/docs/users_guide: gnumake user.tex

(say) gets someplace, but then falls over on messages like:

No file `runtime_control.itex' along LITINPUTS path `.'

because runtime_control.itex hasn't already been "made", though
invoking gnumake on it in turn works.  Maybe this is caused by me
using the "wrong" version of lit2latex (cos the right one won't work,
see above).

Ta,
Alex.

Reply via email to