Unable to find files - the generated ls-R file is wrong!

Ian C. Smith i.c.smith@liverpool.ac.uk
Fri, 01 Dec 2000 09:48:51 +0000



--On Thursday, November 30, 2000 6:16 PM +0100 Leonardo Mangeruca 
<leonardo@parades.rm.cnr.it> wrote:

> The generated $datadir/texmf/ls-R file appears to have two extra lines
> at the end which
> does not allow the kpsewhich routine to find files in the texmf lib
> tree.
> If these two lines are removed the routine works fine and latex also
> does.
> The problem is that the last but one line of ls-R is a directory path
> beginning with "./"
> (i.e. kpsewhich works fine also if only these two characters are removed
> in the last but
> one line of ls-R). I believe the problem is in the mktexlsr routine o
> related files (Makefile.in, etc...).
>
> I attach some files (ls-R.ko is the automatically generated ls-R file in
> $datadir/texmf, while
> ls-R.ok is the manualy corrected file)
>
> Greetings!
> Leonardo

Thanks for the help - after *a lot* of effort I manged to track down the 
problem. The Computer Modern font description
(ot2cmr.fd) was missing/in the wrong dir so the OT2 encoding file couldn't 
pick it up. Then as you say the ls-R needed a
rehash. Finally the directory holding the generated *.tfm files didn't have 
write permission so they couldn't be created.

All in a day work I suppose,

thanks again,

-ian.

----------------------
Ian C. Smith
email: i.c.smith@liv.ac.uk   URL: http://www.liv.ac.uk/~smithic
phone: 07970-247624         fax:   0151-794-4442
Address: Computing Services Department
         Brownlow Hill Building - Room G11
         The University of Liverpool
         LIVERPOOL.  L69 3BX