Kent Kostuk wrote: > First, I checked textclass.lst: it's there and non-zero. > > Second, I replace sed. > > Third, I type configure at the c:\lyx32\share\lyx> DOS prompt and get: a > lot of text and then "configure: error: cannot find chkconfig.ltx script"
I would type "sh configure" if you are running from a DOS prompt as opposed to a unix shell. Otherwise, Windows is likely to try and execute configure as a batch file. Which it isn't... Or it may be executing 'configure.cmd', which is ancient, unmaintained historical cruft... Assuming that it's running sh.exe on the right file, here's the block of code in configure that threw up the message: #### Guess the directory in which configure is located. ac_prog=$0 srcdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` test "x$srcdir" = "x$ac_prog" && srcdir=. if test ! -r ${srcdir}/chkconfig.ltx ; then echo "configure: error: cannot find chkconfig.ltx script" exit 1 fi If you modify that block of code to print out some diagnostics, so: (I've added a bunch of print (echo) statements): ac_prog=$0 srcdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` echo "SRCDIR $srcdir" srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` echo "SRCDIR $srcdir" test "x$srcdir" = "x$ac_prog" && srcdir=. echo "SRCDIR $srcdir" if test ! -r ${srcdir}/chkconfig.ltx ; then echo "configure: error: cannot find chkconfig.ltx script" exit 1 fi exit 1 Then here, running "sh configure" I get: SRCDIR configure SRCDIR configure SRCDIR . which means that the "if test ... " line becomes: if test ! -r ./chkconfig.ltx ; then translating into English: if the file "./chkconfig.ltx" isn't readable, then... SO, does chkconfig.ltx exist and do you have read permission to open it up? -- Angus