Peter Flynn wrote:
I just tried to install Lyx from the 1.3.6-1 RPMs.
It can't find the commands kpsewhich and texhash, which is weird because
they are both in the global path. The TeX is a new full install from the
TeX Collection DVD.
How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).
This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.
It's not just kpsewhich and texhash -- both install scripts failed to
find a working latex executable.
IIRC, the install scripts for look for latex and latex2e by trying to
execute them. Assuming that your latex executable is on the global path
and works (which you can test by trying to run it from a shell prompt),
you might check whether there's a permissions problem (is the LyX
install script running under an account that can access the LaTeX
installation).
Paul