Paul A. Rubin wrote:
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),

Yes, all that is working fine. The problem does not appear to lie with the installation of TeX.

you might check whether there's a permissions problem (is the LyX install script running under an account that can access the LaTeX installation).

How do I know what account the LyX postinstall script from the RPM has
picked to run as? The RPM was installed as root, of course, but if LyX
has picked something else to use to run its script, that is hidden from
sight -- what's the best way to find out (and why on earth would they
want to do such a weird thing anyway?).

kpsewhich and all the TeX binaries are in /usr/local/bin, which is in
every user's path, AFAIK.

At the moment could someone note on the web site that LyX is not
installable with the RPMs on stock FC4 with the teTeX from the TeX
Collection DVD.

Is anyone out there using LyX on FC4?

///Peter

Reply via email to