下载wine(非RPM包):
我用的是wine-1.1.1,下载wine-1.1.1.tar.bz2。用以下方法编译wine:
用wineinstall安装:用普通用户登录,解压wine-1.1.1.tar.bz2,解压后的目录就是源码安装包,进入该目录。运行:./tools/wineinstall按提示回答就可以了。
在我电脑上的操作如下:
cd 桌面
tar jxvf wine-1.1.1.tar.bz2
cd wine-1.1.1
./tools/wineinstall
之后它会运行./configure,然后显示:We need to install wine as root user, do you want us to build wine,'su root' and install Wine? Enter 'no' to continue without installing(yes/no)
yes 回车
编译安装途中出现了下面的错误,出现这样的问题是因为没有安装相关的devel支持。
configure: WARNING: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree86 at the very least.
如果是用gonme桌面的,请在终端输入:sudo apt-get install gnome-devel 下载安装完后再次执行编译安装wine即可。
如果你root用户设置了密码,还会提示你输入密码。
待屏幕上出现:
Installation complete for now. Good luck (this is still alpha software).If you have problems with WINE, please read the documentation first,
as many kinds of potential problems are explained there.
则表示安装成功了。
安装好了wine,你就可以在linux轻松使用windows啦!


flytostars 于 2008-07-21 00:07:42发表:
你把你使用的系统版本说明下先啊
我用的是RHEL5.1
wine源码安装会缺很多的东西,但在光盘里面基本上都可以找到,找不到的在网个google一下
所以各个版本都还是会有些差异的,还是先说明一下的比较好哦