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
Apologies if this shows up twice -- I answered this morning, but
apparently the dog ate my message.
It's possible that the versions of some of the utility programs
installed by Cygwin are incompatible with the LyX configuration script.
I have not updated my Cygwin installation in a long time, but I know
that I had that problem a year or so ago. In particular, LyX
installation is sensitive to the version of sed (earlier versions of sed
choke on carriage return/linefeed combinations used to terminate lines
in the configuration files).
One possible solution is to install MinSYS. You may need to make sure
that the MinSYS bin directory is ahead of the Cygwin bin directory on
the Windows command path. Another possibility, if you have not upgraded
Cygwin recently, is to do so now. I don't know what versions of sed
(and other helpers) currently ship with Cygwin. A third possibility is
to compile the LyX source under Cygwin (which I know some users have
done -- I'm assuming you installed a precompiled binary).
I also had a problem once in which LyX saw the version of latex.exe
installed by Cygwin rather than the version used by MiKTeX, and decided
that the Cygwin latex.exe was dysfunctional. I don't know if there was
an installation error, or whether I had installed latex.exe but not
other parts of LaTeX, or whether the version Cygwin shipped simply was
not compatible. In any event, since I have MiKTeX installed, the cure
was to put MiKTeX's bin directory ahead of Cygwin's on the command path.
HTH,
/Paul