Eyal Rozenberg wrote:
I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:
LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly
in a dialog, and the console says
LyXTextClassList::Read: unable to find textclass file `'. Exiting.
I can't find that file anywhere; what to do?
Eyal Rozenberg
The configuration script uses a number of Unix/Linux utilities,
including (prominently) sed. Older versions of sed don't work with the
configuration script. I haven't updated my Cygwin installation in a
long time, but the sed that Cygwin installed back when is definitely too
old. (There may be other utilities that need updating, but I know from
painful personal experience that sed is one.) Also, I had problems once
with the LyX installation script seeing the version of LaTeX that Cygwin
installed before finding the MiKTeX version, and deciding Cygwin's
latex.exe would not work. Might have been a faulty LaTeX installation
under Cygwin, but in any case that problem was resolved by ensuring that
MiKTeX preceded Cygwin on the Windows command path.
If you're willing to install MinSYS (and put it on the command path
ahead of the Cygwin bin directory), I think that will cure your problem.
Otherwise, you should check whether there are updates available for
Cygwin. (Don't know if the most recent Cygwin is compatible with LyX or
not.)
One other alternative: people have compiled the LyX source under
Cygwin. (I'm assuming you installed the 1.3.7 Windows binary, rather
than compiling yourself.)
HTH,
/Paul