当我尝试启动任何Windows程序时,我没有得到任何错误,也没有任何反应。我尝试使用Centos 7的3台不同的机器。还尝试了旧版本的Wine。使用来自Mikrotik的winbox.exe和putty.exe进行测试。可能是什么问题?
$ ./wine winbox.exe
$
$ cat /etc/*elease | grep "release" | head -1
CentOS Linux release 7.3.1611 (Core)
$ uname -r
3.10.0-514.2.2.el7.x86_64
$ openbox --version | grep "Openbox"
Openbox 3.5.2
sudo yum clean all
sudo yum update -y
sudo yum groupinstall -y 'Development Tools'
sudo yum install -y libX11-devel freetype-devel zlib-devel libxcb-devel libxml2-devel libxslt-devel libjpeg-devel gnutls-devel flex bison
cd /tmp
wget http://dl.winehq.org/wine/source/1.9/wine-1.9.24.tar.bz2
tar xjf wine-1.9.24.tar.bz2
cd wine-1.9.24
./configure --enable-win64
make -j4
并且可执行文件正在运行
$ ./wine --version
wine-1.9.24
答案 0 :(得分:0)
没有时间尝试最新的Wine 2.0版本,但我的所有问题都随着wine-2.0-rc3而消失。仅测试了32位安装。一步一步:
sudo yum clean all
sudo yum update -y
sudo yum groupinstall -y 'Development Tools'
sudo yum install -y libX11-devel freetype-devel zlib-devel libxcb-devel libxml2-devel libxslt-devel libjpeg-devel gnutls-devel flex bison
sudo yum install -y samba-winbind samba-winbind-clients samba-winbind-modules libwbclient-devel mod_auth_ntlm_winbind
# OpenGL support
sudo yum install mesa-dri-drivers.i686 mesa-libGL.i686
mkdir ~/bin && cd ~/bin
wget http://dl.winehq.org/wine/source/2.0/wine-2.0-rc3.tar.bz2
tar xjf wine-2.0-rc3.tar.bz2 && cd wine-2.0-rc3
# run provided install tool and write the output to file
./tools/wineinstall | tee output.file
# get the winetricks tool
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
WINE=~/bin/wine-2.0-rc3/wine sh winetricks corefonts vcrun6 mfc40 ie8 ie7
# start the downloaded windows program
./wine ~/Downloads/winbox.exe
来自Mikrotik的