Windows installation problem (and fix)
For reference for other users: I installed Lyx 1.4.2 (with version Lyx-1.4.2-1.exe installer). Unfortunately it completely fails to start. A cmd window start and disappear. Lyx does not start. Running it from cmd window here is the message: Exception caught: boost::filesystem::is_directory: D:\msys\home\lyx-142\build\installprefix\Resources\chkconfig.ltx: Le périphérique n'est pas prêt. Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_14x to the LyX system directory containing the file `chkconfig.ltx'. The fix is obviously to modify the launch script lyx.bat to add the -sysdir option to the executable as following: C:\appli\LyX14\binmore lyx.bat @echo off SET LC_ALL=en_EN SET AIK_DATA_DIR=C:\appli\LyX14\aiksaurus start LyX C:\appli\LyX14\bin\lyx.exe -sysdir c:/appli/LyX14/Resources %* I am wondering why it works for other people. Regards, serge
Re: Windows installation problem (and fix)
Serge The fix is obviously to modify the launch script lyx.bat to add Serge the -sysdir option to the executable as following: This should not be necessary... Did you do something special, besides installing in a non-standard directory? Nothing special. Actually I installed it a first time with the default dir (c:/Program Files/Lyx14) but it was failing. Seeing in the list that some people had problem with the space in the pathname, i reinstalled it in c:/appli. Same problem. The problem is Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ LyX should have searched in C:/appli/LyX14/Resources/ instead. Yes. Note that this message is confusing: - did it search separately c:/appli/lyx14/bin, and c:/appli/lyx14/resources (in which case it should have found the correct dir), and did the error printing by concatenating the 2 dirs? - or did it search a single dir of the form c:/appli/lyx14/bin/c:/appli/lyx14/resources/ ?? Note that if i pass a bogus dir to the -sysdir option, it reports that dir on a new line.
Windows installation problem (and fix)
For reference for other users: I installed Lyx 1.4.2 (with version Lyx-1.4.2-1.exe installer). Unfortunately it completely fails to start. A cmd window start and disappear. Lyx does not start. Running it from cmd window here is the message: Exception caught: boost::filesystem::is_directory: D:\msys\home\lyx-142\build\installprefix\Resources\chkconfig.ltx: Le périphérique n'est pas prêt. Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_14x to the LyX system directory containing the file `chkconfig.ltx'. The fix is obviously to modify the launch script lyx.bat to add the -sysdir option to the executable as following: C:\appli\LyX14\binmore lyx.bat @echo off SET LC_ALL=en_EN SET AIK_DATA_DIR=C:\appli\LyX14\aiksaurus start LyX C:\appli\LyX14\bin\lyx.exe -sysdir c:/appli/LyX14/Resources %* I am wondering why it works for other people. Regards, serge
Re: Windows installation problem (and fix)
Serge The fix is obviously to modify the launch script lyx.bat to add Serge the -sysdir option to the executable as following: This should not be necessary... Did you do something special, besides installing in a non-standard directory? Nothing special. Actually I installed it a first time with the default dir (c:/Program Files/Lyx14) but it was failing. Seeing in the list that some people had problem with the space in the pathname, i reinstalled it in c:/appli. Same problem. The problem is Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ LyX should have searched in C:/appli/LyX14/Resources/ instead. Yes. Note that this message is confusing: - did it search separately c:/appli/lyx14/bin, and c:/appli/lyx14/resources (in which case it should have found the correct dir), and did the error printing by concatenating the 2 dirs? - or did it search a single dir of the form c:/appli/lyx14/bin/c:/appli/lyx14/resources/ ?? Note that if i pass a bogus dir to the -sysdir option, it reports that dir on a new line.
Windows installation problem (and fix)
For reference for other users: I installed Lyx 1.4.2 (with version Lyx-1.4.2-1.exe installer). Unfortunately it completely fails to start. A cmd window start and disappear. Lyx does not start. Running it from cmd window here is the message: Exception caught: boost::filesystem::is_directory: "D:\msys\home\lyx-142\build\installprefix\Resources\chkconfig.ltx": Le périphérique n'est pas prêt. Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_14x to the LyX system directory containing the file `chkconfig.ltx'. The fix is obviously to modify the launch script lyx.bat to add the -sysdir option to the executable as following: C:\appli\LyX14\bin>more lyx.bat @echo off SET LC_ALL=en_EN SET AIK_DATA_DIR=C:\appli\LyX14\aiksaurus start "LyX" "C:\appli\LyX14\bin\lyx.exe" -sysdir c:/appli/LyX14/Resources %* I am wondering why it works for other people. Regards, serge
Re: Windows installation problem (and fix)
Serge> The fix is obviously to modify the launch script lyx.bat to add Serge> the -sysdir option to the executable as following: This should not be necessary... Did you do something special, besides installing in a non-standard directory? Nothing special. Actually I installed it a first time with the default dir (c:/Program Files/Lyx14) but it was failing. Seeing in the list that some people had problem with the space in the pathname, i reinstalled it in c:/appli. Same problem. The problem is Unable to determine the system directory having searched C:/appli/LyX14/bin/C:/appli/LyX14/Resources/ LyX should have searched in C:/appli/LyX14/Resources/ instead. Yes. Note that this message is confusing: - did it search separately c:/appli/lyx14/bin, and c:/appli/lyx14/resources (in which case it should have found the correct dir), and did the error printing by concatenating the 2 dirs? - or did it search a single dir of the form c:/appli/lyx14/bin/c:/appli/lyx14/resources/ ?? Note that if i pass a bogus dir to the -sysdir option, it reports that dir on a new line.