使用源码安装wine

使用源码安装wine。

使用git clone https://github.com/wine-mirror/wine.git 获取到最新的wine源码

安装步骤如下:

./configure 

make

make install

在执行./configure时会出现

1.错误

checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

Configure failed, aborting install.

解决办法:

./configure --enable-win64

2.错误

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

解决办法:

sudo apt-get install flex

3.错误

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

解决办法:

sudo apt-get install bison

4.错误

configure: error: X 64-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 64-bit development packages of Xlib at the very least.
Use the --without-x option if you really want this.

解决办法:

sudo apt-get install xserver-xorg-dev

之后再使用./configure --enable-win64 命令

 

之后再使用make、make install

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值