Jean-Marc Lasgouttes wrote:
Joost> No, see the debug output I mailed earlier today.
This one misses the <package>...</package> part. Could you add it?
That part is totally normal, see below.
Joost> I have no configuration files (except lyxrc.dist) at all in
Joost> both the LyX Resources directory and the users directory.
And the users directory exists?
That makes no difference, it doesn't work in both cases. LyX
automatically creates the users directory for me.
Joost> I expect it to run configure, but it won't do so unless I put
Joost> some old textclass.lst in the LyX Resources directory.
Could you try this version with more debug statements?
It looks like the code in your patches is not directly related to this
issue. It doesn't even get to the whole configure thing.
When I run LyX after installation, with no LyX users directory and no
configuration files in the Resources directory, I get the debug output
(with your latest patch):
$ lyx -dbg init,tclass
Setting debug level to init,tclass
Debugging `init' (Program initialisation)
Debugging `tclass' (Textclass files reading)
Checking whether LyX is run in place... no
<package>
binary_dir c:/Program Files/LyX14/bin/
system_support c:/Program Files/LyX14/Resources/
build_support
user_support C:/Documents and Settings/Verburg/Application
Data/LyX14/
locale_dir c:/Program Files/LyX14/Resources/locale/
document_dir C:/Documents and Settings/Verburg/My Documents
temp_dir C:/Documents and Settings/Verburg/Local Settings/Temp/
home_dir C:/Documents and Settings/Verburg
</package>
Initializing LyX::init...
LyX: Creating directory C:/Documents and Settings/Verburg/Application
Data/LyX14/
About to read lyxrc.dist... Found in c:/Program
Files/LyX14/Resources/lyxrc.dist
About to read lyxrc.defaults... Not found.
About to read preferences... Not found.
About to read encodings...
About to read languages...
Reading layouts...
LyXSetStyle: parsing configuration...
Reading textclasses from `'
LyXTextClassList::Read: unable to find textclass file `'. Exiting.
LyXSetStyle: an error occured during parsing.
Exiting.
Joost