gpt4 book ai didi

macos - 如何在 mac 上修复 Wine 中的 "Prefix creation exited with error"?

转载 作者:行者123 更新时间:2023-12-03 14:38:47 72 4
gpt4 key购买 nike

当我在 WineBottler 中安装一个 .exe 应用程序时,它显示一个错误“前缀创建退出错误”

有错误日志:

    Hardware Overview:

Model Name: MacBook Pro
Model Identifier: MacBookPro15,2
Processor Name: Intel Core i5
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
Boot ROM Version: 1037.0.52.0.0 (iBridge: 17.16.10531.5.4,0)
Activation Lock Status: Enabled
###BOTTLING### Create .app...
###BOTTLING### Enabling CoreAudio, Colors, Antialiasing and flat
menus...
/Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources/bottler.sh: line 143:
/Applications/Wine.app/Contents/Resources/bin/wine: Bad CPU type in executable
### LOG ### Command '/Applications/Wine.app/Contents/Resources/bin/wine regedit /tmp/reg.reg' returned status 126.



###ERROR### Command '/Applications/Wine.app/Contents/Resources/bin/wine regedit /tmp/reg.reg' returned status 126.
Task returned with status 1.

最佳答案

编辑(27.10.19):它也适用于 Mojave,但您仍然会遇到一些错误。如果您降级到 High Sierra,它将完美运行。只要确保您下载了最新的稳定版 Wine (4.0.2) 并安装了 winetricks。

我猜您正在使用最新的操作系统版本 (Catalina)。
从我目前发现的情况来看,使用 Catalina 的 Mac 上的 32 位程序支持正在消失,并且 atm 没有针对此问题的可行解决方案。
RN,我面临同样的问题。
尽管如此,我还是找到了某种解决方法。通过 brew 安装 wine,使用您尝试安装的 64 位版本的 .exe,然后运行以下命令:

wine64 <your_program.exe>

如果仍然不起作用,请尝试降级到 Mojave,因为它是支持 32 位应用程序的最后一个操作系统版本。 (这就是我接下来几天要做的事情,我会回来更新)

希望能帮助到你 !

关于macos - 如何在 mac 上修复 Wine 中的 "Prefix creation exited with error"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57650926/

72 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com