Wine 前缀创建已中止

Wine 前缀创建已中止

我正在使用 Wine 在 Mac 上安装 Windows 程序,当我尝试安装时,出现错误前缀创建已中止以及以下日志:

###BOTTLING### default.sh`
###BOTTLING### Gathering debug Info...

Versions
OS...........................: darwin13
Wine.........................: 1.6.1
WineBottler..................: 1.6.1

Environment
PWD..........................: '/Applications/Wine.app/Contents/Resources/bin'
PATH.........................: /Applications/Wine.app/Contents/Resources/bin:/usr/bin:/bin:/usr/sbin:/sbin
USER.........................: stepharr
HOME.........................: /Users/stepharr
BUNDLERESOURCEPATH...........: /Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources
WINEPATH.....................: /Applications/Wine.app/Contents/Resources/bin
LD_LIBRARY_PATH..............: /Applications/Wine.app/Contents/Resources/lib
DYLD_FALLBACK_LIBRARY_PATH...: /Applications/Wine.app/Contents/Resources/lib:/usr/lib
FONTCONFIG_FILE..............: /Applications/Wine.app/Contents/Resources/etc/fonts/fonts.conf
SILENT.......................: -q
http_proxy...................: 
https_proxy..................: 
ftp_proxy....................: 
socks5_proxy.................: 

Bottle
TEMPLATE.....................: 
BOTTLE.......................: /Volumes/REA's TESTware/B Law.app
INSTALLER_URL................: /Volumes/REA's TESTware/instmsia.exe
INSTALLER_IS_ZIPPED..........: 0
INSTALLER_NAME...............: instmsia.exe
INSTALLER_ARGUMENTS..........: 
WINETRICKS_ITEMS.............:  vcrun6
DLL_OVERRIDES................: 
EXECUTABLE_PATH..............: winefile
EXECUTABLE_ARGUMENTS.........: 
EXECUTABLE_VERSION...........: 1.0
BUNDLE_IDENTIFIER............: com.yourcompany.yourapp
SILENT.......................: -q

Hardware:

Hardware Overview:

  Model Name: Mac Pro
  Model Identifier: MacPro3,1
  Processor Name: Quad-Core Intel Xeon
  Processor Speed: 2.8 GHz
  Number of Processors: 2
  Total Number of Cores: 8
  L2 Cache (per Processor): 12 MB
  Memory: 8 GB
  Bus Speed: 1.6 GHz
  Boot ROM Version: MP31.006C.B05
  SMC Version (system): 1.25f4
  Serial Number (system): G8848347XYK
  Hardware UUID: F9A6E8E1-69FE-5486-AFEE-BA270947CCC0

###BOTTLING### Create .app...
mkdir: /Volumes/REA's TESTware/B Law.app/Contents/Resources/English.lproj/main.nib:     Read-only file system
mkdir: /Volumes/REA's TESTware/B Law.app/Contents/MacOS/: Read-only file system
    /Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources/bottler.sh:     line 217: /Volumes/REA's TESTware/B Law.app/Contents/Resources/Credits.html: Read-only file system
ditto: /Volumes/REA's TESTware/B Law.app/Contents/Resources/Winetricks.app: Read-only file     system
/Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources/bottler.sh:     line 223: /Volumes/REA's TESTware/B Law.app/Contents/MacOS/startwine: Read-only file system
chmod: /Volumes/REA's TESTware/B Law.app/Contents/MacOS/startwine: No such file or directory
/Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources/bottler.sh:     line 290: /Volumes/REA's TESTware/B Law.app/Contents/Info.plist: Read-only file system
###BOTTLING### Enabling CoreAudio, Colors, Antialiasing  and flat menus...
wine: chdir to /Volumes/REA's TESTware/B Law.app/Contents/Resources/wineprefix
 : No such file or directory
### LOG ### Command '/Applications/Wine.app/Contents/Resources/bin/wine regedit         /tmp/reg.reg' returned status 1.


Task returned with status 1.`

我想知道是否必须运行 winetrick 才能安装该程序?

答案1

这不是 winetrick 的问题。你读过错误消息吗?它说:

mkdir: /Volumes/REA's TESTware/B Law.app/Contents/Resources/English.lproj/main.nib:只读文件系统

这句话

只读文件系统

重复了几次,直到我们被告知:

chdir 到 /Volumes/REA's TESTware/B Law.app/Contents/Resources/wineprefix :没有此文件或目录

发生这种情况的原因是文件系统是只读的,因此无法创建文件或目录。

您必须面对无法写入此磁盘的事实。您可以通过以 root 身份运行相同的程序来解决这个问题。如果失败,您将必须调查这些文件夹或磁盘的读/写权限。但我相信第一个选项(以 sudo 身份运行安装程序)将解决您的问题。

相关内容