编译安装 wine 1.1.44 通过 

今天接到邮件通知,wine 发布了最新的开发版 1.1.44,考虑到有时候需要模拟一些win程序,便开始编译安装了。

下载最新的源码,解压进入目录.

不同于其他一些源码发行包,wine 里面自带了一些工具,可以方便的完成安装.
让我可以不用去走 configue---make depend---make---make install 这样的老路.

就是源码包下tools文件夹下的wineinstall脚本.

我的configure:
It was created by Wine configure 1.1.44, which was
generated by GNU Autoconf 2.65. Invocation command line was

$ ./configure --prefix=/usr/local/wine --bindir=/usr/local/bin --sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig --localstatedir=/var --disable-win16 --with-x

把编译参数加入到wineinstall里面的CONFARGS字符串(位于第一行,不计注释)里面去即可.

之后,运行./tools/wineinstall,开始安装.
问是否编译完成后执行安装,回答yes.

开始检查依赖,wine 会把你不满足的依赖告诉你.
可以对照下列的列表,一个个安装.

bison comerr-dev cpp-4.1 diffstat docbook docbook-dsssl docbook-to-man
docbook-utils docbook-xsl docbook-xsl-doc-html execstack flex fontforge
g++-4.1 gcc-4.1 gcc-4.1-base jadetex krb5-multidev lacheck latex-beamer
latex-xcolor libasound2-dev libaudio-dev libcapi20-3 libcapi20-dev
libcups2-dev libelfg0 libexif-dev libfontforge1 libgdraw4 libgif-dev
libgphoto2-2-dev libgsm1-dev libgssrpc4 libhal-storage-dev libieee1284-3-dev
libjack-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev
liblcms1-dev libldap2-dev libmpg123-0 libmpg123-dev libopenal-dev libopenal1
libosp5 libostyle1c2 libsane-dev libsgmls-perl libsp1c2 libspiro0 libssl-dev
libstdc++6-4.1-dev libtiff4-dev libtiffxx0c2 libuninameslist0 libusb-dev
libxslt1-dev libxxf86vm-dev lmodern luatex openjade pgf prelink prosper
ps2eps quilt sgmlspl sharutils sp tex-common texlive-base texlive-binaries
texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-fonts-recommended-doc
texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
texlive-latex-recommended texlive-latex-recommended-doc texlive-luatex
texlive-pstricks texlive-pstricks-doc tipa x11proto-xf86vidmode-dev


忽略掉继续也可以,因为编译还是可以继续进行的,只不过部分功能无法实现.
不过有几个是必须满足的,比如:flex 2.5 + 和 bison.

如果空间和网速允许,建议 apt-get build-dep wine 安装所有可能需要的依赖.

之后就是编译了,时间会很长,建议可以出去走走...

回来之后,提示输入 root 密码 以执行 make install.
这样 wine 就安装好了.

在终端输入:wine "程序路径" ,即可运行相关程序.
sharl@sharl-laptop:~/wine-1.1.44$ wine --help
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
[ ] ( 5954 次浏览 ) 永久链接 ( 3 / 2359 )

<< <上一页 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 下一页> >>