我试图用酒运行Windows程序(Janome Customizer)。我安装了“开箱即用”的Ubuntu 64bits 12.04,并且刚刚运行了软件中心来更新所有软件包。
Customizer的安装正常,然后运行程序,出现一个窗口,但是单击按钮后什么也没有发生。因此,我使用在wine安装的快捷方式中找到的程序运行该程序:
john@mylaptop:~$ env WINEPREFIX="/home/john/.wine" wine "C:\\windows\\command\\start.exe" /Unix "/home/john/.wine/dosdevices/c:/users/Public/Desktop/JANOME Customizer.lnk"
我收到两个警告:
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
出现“定制程序”窗口,当我单击一个按钮时,将显示此错误:
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\MkStitch.dll") not found
err:module:import_dll Library MkStitch.dll (which is needed by L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\EasyImport95.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\EasyImport95.exe" failed, status c0000135
所以我用谷歌搜索了这个错误,并尝试用winetricks安装mfc42,但是我得到了错误:
john@mylaptop:~$ winetricks mfc42
Executing w_do_call mfc42
Executing load_mfc42
Executing mkdir -p /home/john/.cache/winetricks/vcrun6
Downloading
http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe
to /home/john/.cache/winetricks/vcrun6
--2012-07-28 08:58:50--
http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe
Resolving download.microsoft.com (download.microsoft.com)... 158.255.97.16,
158.255.97.65
Connecting to download.microsoft.com
(download.microsoft.com)|158.255.97.16|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-07-28 08:58:51 ERROR 404: Not Found.
------------------------------------------------------
Downloading
http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe
failed
------------------------------------------------------
我试图手动将mfc42与其他Google结果一起安装,但无济于事。我宁愿使用酒壶。如果我用winetricks无法做到这一点,则手动安装属于另一个问题。
可以肯定的是,我尝试使用Live CD(实际上是USB密钥)在Ubuntu 12.04 32bits上启动。通过软件中心安装了wine,但随后运行会winetricks mfc42
产生相同的错误。
有趣的是,在我每天使用的另一台计算机上,将其插入相同的互联网路由器,安装mfc42的工作原理是:
11:35:45 ~>winetricks mfc42
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
Executing /usr/bin/cabextract -q /home/jrouquie/.cache/winetricks/vcredist.exe -d /home/jrouquie/.wine/dosdevices/c:/windows/system32 -F mfc42u.dll
Using native,builtin override for following DLLs: msvcrt
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
Install of mfc42 done
winetricks done.
11:36:29 ~>winetricks mfc42
prerequisite vcrun6 already installed, skipping
Install of mfc42 done
winetricks done.
11:46:00 ~>
感谢您提供安装mfc42的帮助。
winetricks mfc42
应该是winetricks dlls mfc42
较新的版本。我的版本是20150206。winetricks dlls list
显示完整列表。:-)