Le mer 11/08/2004 à 04:40, Henning Gerhardt a écrit :
Hi all,
a friend of me would update the wine package (20030813) from his SuSE 9.0 system to the latest availabe package for this system (20040716). After the update following error message appears on each start of wine:
.... Warning: the specified Windows directory L"C:\Windows" is not accessible. Warning: the specified System directory L"C:\Windows\System" is not accessible.
Mike, we might have one of the situations causing this error here.
He get me also an output of the first wine start:
Created symlink /home/julian/.wine/dosdevices/c: -> ../${HOME}/.wine/fake_windows .... Created symlink /home/julian/.wine/dosdevices/y: -> ../${HOME} .... Warning: the specified Windows directory L"C:\Windows" is not accessible. Warning: the specified System directory L"C:\Windows\System" is not accessible.
After my advise to get me the content of his "~/.wine/dosdevices", he send me the following output:
.... lrwxrwxrwx 1 julian users 28 10. Aug 18:50 c: -> ../%HOME%/.wine/fake_windows .... lrwxrwxrwx 1 julian users 9 10. Aug 18:50 y: -> ../%HOME% ....
and he send me also his config file (snipped content):
[Drive C] "Path" = "${HOME}/.wine/fake_windows" "Type" = "hd" "Label" = "fake_windows" "Filesystem" = "win95"
...
[Drive Y] "Type" = "network" "Path" = "${HOME}" "Label" = "Home" "FS" = "win95"
....
(I translated the german dialog with him to english)
I think the problem is the ${HOME} variable which is not parsed / correct replaced during the convert process.
Have anyone an idea to solve this problem ? Or is it only a problem of the SuSE distribution ?
It's not SuSE specific. It's a problem from upgrading from a (somewhat) old to a newer Wine version.
Wine used to understand ${HOME}-style vars in config. This was then changed to %HOME%-style vars. Current Wine doesn't use config anymore for drives but uses dosdevices, which is created on the fly from config if it doesn't exist.
So the problem comes from 2 changes, with only the latter being acted on automatically.
If you want to fix it, the simplest way would be to create the following symlinks in ~/.wine/dosdevices:
ln -s ../fake_windows c: ln -s /home/julian y:
Vincent