1 root@kali:/# uname -a 2 Linux kali 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux 3 4 5 wget http://mirrors.ibiblio.org/wine/source/1.7/wine-1.7.33.tar.bz2 6 7 tar jxvf wine-1.7.33.tar.bz2 8 9 cd wine-1.7.33/10 11 ./configure --enable-win6412 13 根据configure:提示安装相应的依赖14 15 历史记录16 2032 apt-get install libXxf86vm17 2033 apt-get install libxxf86vm18 2034 apt-get install libxxf86vm119 2035 apt-get install libxxf86vm1-dbg 20 2036 apt-get install libxxf86vm-dev 21 2037 apt-get install libosmesa622 2038 apt-get install libosmesa6-dev 23 2039 apt-get install opencl*24 2040 apt-get install opencl-dev25 2041 apt-get install ocl-icd-dev 26 2042 apt-get install opencl-dev27 2043 apt-get install nvidia-opencl-dev28 29 2047 apt-get install libpcap-dev 30 2048 apt-get install libhal-dev 31 2049 apt-get install libsane-dev 32 2050 apt-get install libv4l-dev 33 2051 apt-get install liblcms2-dev 34 2052 apt-get install oss4-dev 35 2053 apt-get install libcapi20-dev 36 2054 apt-get install libgsm1-dev 37 2055 apt-get install libtiff5-dev 38 2056 apt-get install libmpg123-dev 39 2057 apt-get install libopenal-dev 40 2058 apt-get install libldap2-dev 41 2059 apt-get install PRelink 42 2060 apt-get install libxslt43 2061 apt-get install libxslt1-dev 44 2062 apt-get install libsane-dev 45 2063 history46 root@kali:/# 47 48 安装完依赖再运行49 50 ./configure --enable-win6451 52 省略..53 creating Makefile rules... done54 configure: creating ./config.status55 config.status: creating Make.tmp56 config.status: creating include/config.h57 config.status: linking tools/winewrapper to wine58 config.status: linking tools/winewrapper to wine6459 config.status: executing include/stamp-h commands60 config.status: executing tools/makedep commands61 config.status: executing Makefile commands62 config.status: executing .gitignore commands63 64 65 configure: Finished. Do 'make' to compile Wine.66 67 然后68 root@kali:~/tools/wine中文问题/wine-1.7.33# make69 70 然后等10几二十分钟71 LC_ALL=C sed -e 's,@bindir/@,/usr/local/bin,g' -e 's,@dlldir/@,/usr/local/lib64/wine,g' -e 's,@PACKAGE_STRING/@,Wine 1.7.33,g' -e 's,@PACKAGE_VERSION/@,1.7.33,g' wineserver.fr.UTF-8.man.in >wineserver.fr.UTF-8.man || (rm -f wineserver.fr.UTF-8.man && false)72 LC_ALL=C sed -e 's,@bindir/@,/usr/local/bin,g' -e 's,@dlldir/@,/usr/local/lib64/wine,g' -e 's,@PACKAGE_STRING/@,Wine 1.7.33,g' -e 's,@PACKAGE_VERSION/@,1.7.33,g' wineserver.man.in >wineserver.man || (rm -f wineserver.man && false)73 make[1]: Leaving directory `/root/tools/wine中文问题/wine-1.7.33/server'74 Wine build complete.75 76 然后安装77 make install78 79 然后在/usr/local/bin下就有了win6480 81 root@kali:/usr/local/bin# ./wine --version82 wine-1.7.33
新闻热点
疑难解答