Linux kali 3.14-kali1-amd64 编译安装 wine 1.7.33
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-win64 12 13 根据configure:提示安装相应的依赖 14 15 历史记录 16 2032 apt-get install libXxf86vm 17 2033 apt-get install libxxf86vm 18 2034 apt-get install libxxf86vm1 19 2035 apt-get install libxxf86vm1-dbg 20 2036 apt-get install libxxf86vm-dev 21 2037 apt-get install libosmesa6 22 2038 apt-get install libosmesa6-dev 23 2039 apt-get install opencl* 24 2040 apt-get install opencl-dev 25 2041 apt-get install ocl-icd-dev 26 2042 apt-get install opencl-dev 27 2043 apt-get install nvidia-opencl-dev 28 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 libxslt 43 2061 apt-get install libxslt1-dev 44 2062 apt-get install libsane-dev 45 2063 history 46 root@kali:/# 47 48 安装完依赖再运行 49 50 ./configure --enable-win64 51 52 省略.. 53 creating Makefile rules... done 54 configure: creating ./config.status 55 config.status: creating Make.tmp 56 config.status: creating include/config.h 57 config.status: linking tools/winewrapper to wine 58 config.status: linking tools/winewrapper to wine64 59 config.status: executing include/stamp-h commands 60 config.status: executing tools/makedep commands 61 config.status: executing Makefile commands 62 config.status: executing .gitignore commands 63 64 65 configure: Finished. Do 'make' to compile Wine. 66 67 然后 68 root@kali:~/tools/wine中文问题/wine-1.7.33# make 69 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 install 78 79 然后在/usr/local/bin下就有了win64 80 81 root@kali:/usr/local/bin# ./wine --version 82 wine-1.7.33