ubuntu13.10 编译安装 wine1.7.10

来源:互联网 发布:阿里云账号登录 编辑:程序博客网 时间:2024/06/05 09:27

网上找了好些资料,发现好些关于ubuntu的资料都是很久以前的资料了,所以决定自己写一个关于在ubuntu13.10下编译安装wine的过程

1.1.源

    我选择的是中国服务器,一般来说其他的源都行的,但是我觉得中国服务器这个比较稳定,资源也较多。

   完了之后记得更新一下

   sudo apt-get update

1.2.

   sudo apt-get install build-essential
   sudo apt-get install gcc-4.4-multilib (应对缺少32位包)
   sudo apt-get install gnome-devel    (configure: error: 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.
                                                                                 Use the --without-x option if you really want this.)

1.3

反复安装直至成功

   sudo apt-get install flex bison qt4-qmake
   sudo apt-get install libfreetype6-dev
   sudo apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-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
   sudo apt-get install prelink
   sudo apt-get install libasound2-dev

2.1

  下载我们需要的数据包

   http://jaist.dl.sourceforge.net/project/wine/Source/wine-1.7.10.tar.bz2

  解压到“下载”

2.2

  cd 下载

  cd wine-1.7.10

3.1

  ./configure --enable-win64 

  没有错误的话最好

   若是问题较多,可以狠一点,用

   apt-get build-dep wine

3.2

  sudo make

(这个耗时貌似有点长)



0 0
原创粉丝点击