On 7 Apr 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Kimmo" == Kimmo Koli <[EMAIL PROTECTED]> writes:
>
> Kimmo> In our configuration we try to make a multi-platform
> Kimmo> installation so that Linux, Solaris and HP-UX share the
> Kimmo> platform independent files. However, reconfigure is now working
> Kimmo> only on HP-UX, as the configure-script is not platform
> Kimmo> independent enough in finding the LaTeX-distribution (ie. uses
> Kimmo> absolute paths). Well, this is true at least for 1.04, we
> Kimmo> haven't tried newer versions.
>
> Could you elaborate?
The Reconfigure in the Options-menu reruns the configure-script if I
understand corrently. And this script seems to need the LaTeX binary path
defined inside the script. So the start of the script is:
-------
#! /bin/sh
# This script is a hand-made configure script. It contains a lot of
# code stolen from GNU autoconf. I removed all the code that was not
# useful for configuring a LyX installation.
PATH=/prog/teTeX/bin/hppa1.1-hpux10:$PATH
export PATH
-------
The default shell for user is tcsh and because we have "too
many" applications in our system, we don't place all applications in the
shell default search path but use a separate command to set the correct
paths and enviroment variables only when required. So before starting LyX
we issue a command "use lyx" which sets LyX and LaTeX paths.
So although the paths are correctly set for LyX somehow the
configure-script seem to get the plain path. Of cource we could add some
architecture sensing into the script but as LyX gets updated quite often
we would want to keep the amount of manually edited files to a minimum.
Best regards,
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kimmo Koli Helsinki University of Technology
[EMAIL PROTECTED] Electronic Circuit Design Laboratory
http://www.ecdl.hut.fi/~kimmo P.O.Box 3000
Tel: +358 9 451 2273 FIN-02015 HUT
Fax: +358 9 451 2269 Finland
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=