我该如何重新安装 wine 或者让它工作?

我该如何重新安装 wine 或者让它工作?

我刚刚在机器上安装了 OpenSUSE 12.1 64 位,但 Wine 无法启动。Winecfg 也无法启动。我尝试从菜单和终端启动 wine,但无济于事。我尝试在 wine 中使用 zypper,但它不允许我替换当前的 wine 安装。我当前的 wine 版本是 wine-1.3.30。我从 DVD 安装了 opensuse。我该如何重新安装 wine 或使其正常工作?根据要求:

wine64 notepad.exe
wine: created the configuration directory '/root/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:seh:RtlAddFunctionTable 0x61e45620 1 61e40000: stub
fixme:seh:RtlAddFunctionTable 0x61780ba0 1 61700000: stub
fixme:seh:RtlAddFunctionTable 0x64f69540 1 64f40000: stub
fixme:seh:RtlAddFunctionTable 0x622c6620 1 622c0000: stub
fixme:seh:RtlAddFunctionTable 0x6ce47620 1 6ce40000: stub
fixme:seh:RtlAddFunctionTable 0x254b20 1 240000: stub
fixme:seh:RtlAddFunctionTable 0x67112de0 1 67040000: stub
fixme:seh:RtlAddFunctionTable 0x6f7e6ea0 1 6f7c0000: stub
fixme:seh:RtlAddFunctionTable 0x3ab6a0 1 390000: stub
fixme:seh:RtlAddFunctionTable 0x6b35e700 1 69c40000: stub
fixme:iphlpapi:NotifyAddrChange (Handle 0xdae308, overlapped 0xdae2d0): stub
wine: configuration in '/root/.wine' has been updated.

它打开了记事本!发生了什么?

但是 wine notepad.exe 不起作用。这意味着什么?

winetricks d3dx9_42 vcrun2008 xact

给这个

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

winecfg 无法启动?这是 32 位的问题吗?我安装的是 64 位操作系统?

答案1

看起来在正常的 64 位安装中还安装了 32 位的 wine。我已备份并重命名 wine 和软链接 wine 64。现在它似乎可以正常工作了!

mv wine wine32
ln -sf wine64 wine

但这也不起作用。也许我忘了启用 32 位仿真:

zcat /proc/config.gz | grep IA32_EMULATION
CONFIG_IA32_EMULATION=y

这可以帮助:

rm ~/.wine
export WINEARCH=win32

并删除软链接 wine64。在我看来,wine64 不起作用。但现在当我想启动一个程序时,它给了我这个错误:

err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem

我还没有安装任何文件系统 noexec?问题是每个存根都必须安装在 wine 中。我无法从现有的 Windows 分区启动存根。

相关内容