During configure the part ooowintool tries to copy the files
/cygdrive/C/Program Files/Common Files/Merge Modules/Microsoft_VC90_CRT_x86.msm
There are bugs with this
README_msm90.txt in external\msm90 tells that the files ... have to be copied into this folder. I have done this, but ooowintool does not notice that the files are already there and tries to copy them.
ooowintool expects the files in Program Files/Common Files/Merge Modules. But I have a German WinXP and that folder does not exist. But on a German WinXP it is C:\Programme\Gemeinsame Dateien\Merge Modules
Although I have set the configure option --enable-dbgutil ooowintool copies only the normal *CRT* files, but not the debug files *DebugCRT*.
Configure fails because of this bug. I have workaround this bug by creating the folder and subfolder Program Files/Common Files/Merge Modules and copying the needed files to it.
@Regina: oowintool in fact looks for the %CommonProgramFiles% environment variable, don't you have it defined under German Windows XP? If not, we need to find a better way to find the common program files folder.
No, such environment variable is not defined. And I'm pretty sure, that I had not deleted any environment variable. It seems to be no default variable.
Couldn't you use the folder external\msm90 directly, as last step, if all other search fails? external\msm90 contains a readme, that tells to put the files into that folder.
I think, telling to set an environment variable, would contradict the aims of ooowintool.
I have searched in the registry - don't know whether it is usable - and found:
C:\Programme\Gemeinsame Dateien\Merge Modules\
where those files are.
The files themselves have registry items in
Andras Timar committed a patch related to this issue.
It has been pushed to "master":
fdo#48259 take MSMDir from registry
(1) The files are copied to the tree always on purpose. This way we can ensure that we pack the latest version, not some older version that may be left in the tree.
(2) Solved, thank for the research on the right registry value. Now we look for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS\MSMDir, it is much better than the previous guesswork.
(3) Our build does not package debug CRT files, because those are not redistributable, and you probably don't need them anyway because you can debug the application without them. Probably you don't want to trace into CRT, bugs are usually in LibreOffice code, not in CRT.