• 64位CentOS源码编译方式安装wine


    说明:本文仅作本人笔记的之用,仅供参考。可能因不同环境而不同。

    1. 从官网下载最新版的wine-1.6.2.tar.gz

    2. 安装相关的包(这里是我安装的,可能由于不同系统已经安装的包不同而不一样)

        yum -y install glibc-devel.i686 glibc-devel

        yum install mingw32-gcc mingw32-gcc mingw32msvc-gcc mingw32-gcc

        (提示 Xlib不存在,所以安装了以下包)

        yum install alsa-lib-devel.i686 cups-devel.i686 dbus-devel.i686 esound-devel.i686 fontconfig-devel.i686 freetype-devel.i686 giflib-devel.i686 hal-devel.i686 isdn4k-utils-devel.i686 lcms-devel.i686 libICE-devel.i686 libjpeg-devel.i686 libpng-devel.i686 libSM-devel.i686 libusb-devel.i686 libX11-devel.i686 libXau-devel.i686   libXcomposite-devel.i686 libXcursor-devel.i686 libXext-devel.i686 libXi-devel.i686 libXinerama-devel.i686 libxml2-devel.i686 libXrandr-devel.i686 libXrender-devel.i686 libxslt-devel.i686 libXt-devel.i686 libXv-devel.i686 libXxf86vm-devel.i686 mesa-libGL-devel.i686 ncurses-devel.i686 openldap-devel.i686 openssl-devel.i686 pkgconfig sane-backends-devel.i686 xorg-x11-proto-devel.i686 gnutls openal-soft-devel.i686 gsm-devel.i686 libv4l-devel.i686 openal-soft-devel.i686 gcc flex bison git cabextract wget

        

    附:上面那堆比较长的包参考网上的,由于我的环境是64位,而wine提示需要32位包,所以试着加上了.i686,居然成功了。这里附上原始的:

    yum install alsa-lib-devel cups-devel dbus-devel esound-devel fontconfig-devel

    freetype-devel giflib-devel hal-devel isdn4k-utils-devel lcms-devel

    libICE-devel libjpeg-devel libpng-devel libSM-devel libusb-devel libX11-devel

    libXau-devel libXcomposite-devel libXcursor-devel libXext-devel libXi-devel

    libXinerama-devel libxml2-devel libXrandr-devel libXrender-devel libxslt-devel

    libXt-devel libXv-devel libXxf86vm-devel mesa-libGL-devel ncurses-devel

    openldap-devel openssl-devel pkgconfig sane-backends-devel

    xorg-x11-proto-devel gnutls openal-soft-devel gsm-devel libv4l-devel

    openal-soft-devel gcc flex bison git cabextract wget

     

    注:安装是成功了,但是使用依然有问题。还是应该用yum安装比较靠谱。

  • 相关阅读:
    Amount of Degrees(数位dp)
    【BZOJ2820】【XSY1721】GCD(莫比乌斯反演)
    【XSY2671】【BZOJ2693】jzptab(莫比乌斯反演)
    【模板】莫比乌斯反演
    CDQ分治&&整体二分
    线性方程组之高斯消元
    矢量及【模板】二维凸包
    回收数据表Ⅰ
    Spring的bean管理(注解)
    jquery与ajax的XMLHttpRequest对象介绍
  • 原文地址:https://www.cnblogs.com/liqipeng/p/4584803.html
Copyright © 2020-2023  润新知