deepin安装bochs2.6.2_深度Deepin系统中wine4.0.1源编辑安装

b9a2281e464b52ba8473ea9b5c31d168.png

-----------------------------------------------------------------------------------------------

解压:

tar xvJf ./wine-4.0.1.tar.xz

./configure

./configure --enable-win64

sudo make

sudo make install

说明:

./configure --enable-

安装的是32位wine ./configure --enable-wine

安装的是64位wine ./configure --enable-win64

如装64位的wine,安装完后需要增加一个链接,

sudo ln -s /usr/local/bin/wine64 /usr/local/bin/wine

安装完后,终端运行winecfg

winecfg运行的时候,窗口上的文字都是 ||(||!) ,要做下一步中文支持。

首先复制Windows下的simsun.ttc字体到~/.wine/drive-c/windows/fonts/目录下。

sudo cp simsun.ttc ~/.wine/drive_c/windows/Fonts/

然后新建一个zh.reg文件,然后打开它,输入以下内容。然后回答命令行,使用regedit zh.reg来导入到注册表。

c4c81a259f145472743876e9d4c2336b.png

zh.reg注册表文件内容:

REGEDIT4

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionFontSubstitutes]

"Arial"="simsun"

"Arial CE,238"="simsun"

"Arial CYR,204"="simsun"

"Arial Greek,161"="simsun"

"Arial TUR,162"="simsun"

"Courier New"="simsun"

"Courier New CE,238"="simsun"

"Courier New CYR,204"="simsun"

"Courier New Greek,161"="simsun"

"Courier New TUR,162"="simsun"

"FixedSys"="simsun"

"Helv"="simsun"

"Helvetica"="simsun"

"MS Sans Serif"="simsun"

"MS Shell Dlg"="simsun"

"MS Shell Dlg 2"="simsun"

"System"="simsun"

"Tahoma"="simsun"

"Times"="simsun"

"Times New Roman CE,238"="simsun"

"Times New Roman CYR,204"="simsun"

"Times New Roman Greek,161"="simsun"

"Times New Roman TUR,162"="simsun"

"Tms Rmn"="simsun"

现在再运行winecfg正常。

-----------------------------------------------------------------------------------------------

在源编辑可能会出现的错误,我整理如下:

1、错误信息如下:

configure: error: no suitable flex found. Please install the 'flex' package.

解决:

sudo apt-get install flex

2、错误信息如下:

configure: error: no suitable flex found. Please install the 'bison' package.

解决:

sudo apt-get install bison

3、

e8c2c7efd18fa41a288472ccb865af1a.png

4、错误信息如下:

9c6995c497ad11c840fc0920374b345f.png

解决:

sudo apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev

5、错误信息如下:

6b2d581363b63bab4cf1b31b60f1756e.png

解决:

sudo apt-get install libasound2-dev

sudo apt-get install libxrender-dev

sudo apt-get install libgl1-mesa-dev

sudo apt-get install libglu1-mesa-dev

sudo apt-get install freeglut3-dev

需要字体文件,注册表文件可以留言。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值