Wine-1.5 and gcc-4.7 not compatible

FWIW

the ‘Drive mappings’ tab in winecfg shows a blank list with the comment
“Failed to connect to the mount manager, the drive
configuration cannot be edited.”

this is with both wine-1.5.30-247.1.x86_64 and wine-1.5.29-244.1.x86_64
with gcc-4.7-2.1.1.x86_64 and gcc-4.7-7.1.1.x86_64

hence some programs cannot be run

per https://bbs.archlinux.org/viewtopic.php?pid=1264617 this has been fixed
for them with gcc-4.8.0

is there any planning to upgrade gcc for openSUSE-x86_64?

is anyone else seeing this problem?

cheers

Upgrading gcc only would only have effect if you would recompile wine.

But I don’t think your problem is related to gcc since wine-1.5.30-247.1.x86_64 works fine here on my openSUSE 12.3.
It’s more related to the “mount manager”. Not sure what’s meant with that but I’ll try to find out…

I did some googling and apparently a common reason for this error seems to be that some files/dirs in the ~/.wine directory are owned by root.
So, did you ever try to run wine as root by using sudo, f.e.)?

Try to rename the ~/.wine folder and see if that helps:

mv ~/.wine ~/.wine.old

changing the name worked

all directories and files in the ~/.wine folder had already been checked for
ownership, no root in evidence

some programs could be dragged across, others had to be re-installed

thx for the tip, it’s saved hours

Apparently it could also have been a problem with the registry. (wine does simulate Windows after all… :wink: )
See WineHQ Bugzilla – Bug 17662 – Failed to connect to the mount manager error in winecfg, f.e.

@wolfi323

tried both of the following on the original .wine directory,
neither worked

wine notepad.exe
wineboot -s -f
wineboot -i

only renaming the original directory did

interesting

Did you have those lines in your original ~/.wine/system.reg?

[System\\CurrentControlSet\\Services\\MountMgr] 1216050542
"Description"="Device mounting service"
"DisplayName"="Mount Manager"
"ErrorControl"=dword:00000001
"ImagePath"="C:\\windows\\system32\\drivers\\mountmgr.sys"
"ObjectName"="LocalSystem"
"Start"=dword:00000002
"Type"=dword:00000001

(the number in the first line seems to be a timestamp, so could be different…)

If you remove .wine it will be created new automatically with a fresh registry which should contain those lines.
I don’t think “wineboot -i” would overwrite/change your existing registry files.

old ~/.wine/system.reg

[System\\CurrentControlSet\\Services\\MountMgr] 1334415241
"Description"="Device mounting service"
"DisplayName"="Mount Manager"
"ErrorControl"=dword:00000001
"ImagePath"="C:\\windows\\system32\\drivers\\mountmgr.sys"
"ObjectName"="LocalSystem"
"PreshutdownTimeout"=dword:00000000
"Start"=dword:00000002
"Type"=dword:00000001

new ~/.wine/system.reg

[System\\CurrentControlSet\\Services\\MountMgr] 1368569313
"Description"="Device mounting service"
"DisplayName"="Mount Manager"
"ErrorControl"=dword:00000001
"ImagePath"="C:\\windows\\system32\\drivers\\mountmgr.sys"
"ObjectName"="LocalSystem"
"PreshutdownTimeout"=dword:0002bf20
"Start"=dword:00000002
"Type"=dword:00000001

anything significant?

Not really. I tried changing that value to 00000000 in my system.reg and it still worked.

Sorry, I have no idea then why you encountered that problem.
Maybe you had an old/corrupted mountmgr.sys in your .wine directory?