从源码安装wine
- 我的系统环境:ubuntu 12.04.4 X64
- wine版本:wine-1.7.12.tar.bz2
- 解压:tar -xvf wine-1.7.12.tar.bz2
- 进入wine源码文件夹:cd wine-1.7.12/
- 执行configure:./configure
- 我遇到了两大问题
- 1. Configuration fails with:
Cannot build a 32-bit program, you need to install 32-bit development libraries.
- 我的电脑是64位的,所以:./configure --enable-win64
- 2. x development files not found
- 我google到了这篇文章:http://askubuntu.com/questions/189430/wine-x-development-files-not-found
- 只要再安装一个xorg-dev就解决问题了:sudo apt-get install xorg-dev
- 上面两个问题解决后就很顺利的在编译安装了(编译时间真是长啊!感觉比下载时间都长~~~):
- make depend
- make
- make install
从源码卸载wine:make uninstall