如何解决“错误导致退出前缀创建";在Mac的Wine中? [英] How to fix "Prefix creation exited with error" in Wine at mac?

查看:853
本文介绍了如何解决“错误导致退出前缀创建";在Mac的Wine中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在WineBottler中安装.exe应用程序时,它显示错误前缀创建退出,并出现错误"

When I install a .exe application in WineBottler,it shows an error "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.

推荐答案

EDIT(27.10.19):它也适用于Mojave,但仍然会出现一些错误.如果您降级为High Sierra,它将可以完美运行.只要确保您下载了Wine的最新稳定版本(4.0.2)并安装了winetricks.

EDIT (27.10.19) : It works also with Mojave but you still get a few errors. If you downgrade to High Sierra, it will work perfectly. Just be sure that you download the last STABLE Version of Wine (4.0.2) and also install winetricks.

我猜您正在使用最新的操作系统版本 (Catalina).从到目前为止的发现来看,Mac和Catalina上已不再支持32位程序,而atm尚无可行的解决方案.RN,我面临着同样的问题.尽管如此,我还是找到了一种解决方法.通过brew安装wine,使用您要安装的.exe的64位版本,然后运行以下命令:

I'm guessing you're using the last OS version (Catalina). From what I've found so far, 32-bit program support is going away on the Mac with Catalina, and atm there is no viable solution for this issue. RN, I'm facing the same issue. Still, I've found some kind of a workaround. Install wine via brew, use a 64bit version of the .exe that you're trying to install, and run the following command:

wine64 <your_program.exe>

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

If that still doesn't work, try downgraiding to Mojave, since it's the last OS version that supports 32bit apps. (That's what I'm going to do in the next few days, and I'll come back with an update)

希望有帮助!

这篇关于如何解决“错误导致退出前缀创建";在Mac的Wine中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆