【问题标题】:How to fix "Prefix creation exited with error" in Wine at mac?如何在 mac 上修复 Wine 中的“前缀创建错误退出”?
【发布时间】:2019-12-30 05:35:30
【问题描述】:

当我在 WineBottler 中安装 .exe 应用程序时,它显示错误“Prefix creation exited with error”

有错误日志:

    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.

【问题讨论】:

    标签: macos wine


    【解决方案1】:

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

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

    wine64 <your_program.exe>
    

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

    希望对你有帮助!

    【讨论】:

      猜你喜欢
      • 2017-10-12
      • 2012-10-29
      • 2018-02-10
      • 1970-01-01
      • 2019-08-30
      • 2021-01-14
      • 2023-02-23
      • 2019-01-21
      • 2022-01-08
      相关资源
      最近更新 更多