cd
yum groupinstall 'Development Tools' -y
yum install libX11-devel freetype-devel -y
wget http://prdownloads.sourceforge.NET/wine/wine-1.6.tar.bz2
tar -jvxf wine-1.6.tar.bz2
cd wine-1.6
编译之前先安装32位运行库不然不能编译:
yum install alsa-lib-devel.i686 libsndfile-devel.i686 readline-devel.i686 glib2.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 pulseaudio-libs-devel.i686 cmake portaudio-devel.i686 openal-soft-devel.i686 audiofile-devel.i686 freeglut-devel.i686 lcms-devel.i686 libieee1284-devel.i686 openldap-devel.i686 unixODBC-devel.i686 sane-backends-devel.i686 fontforge libgphoto2-devel.i686 isdn4k-utils-devel.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libXxf86dga-devel.i686 libXxf86vm-devel.i686 giflib-devel.i686 cups-devel.i686 gsm-devel.i686 libv4l-devel.i686 fontpackages-devel ImageMagick-devel.i686 openal-soft-devel.i686 libX11-devel.i686 docbook-utils-pdf libtextcat tex-cm-lgc -y
安装这个可能会出错: 1. glib2.i686 这个库安装不了 可以选择不安装
2. configure: error: FreeType 32-bit development files not found. Fonts will not be built.
解决办法: yum -y install freetype-devel.i686
./configure
make
make install
安装VNC远程桌面
Vnc View远程登录后,文档内容不乱码,拷贝Windows系统中的字体到 /root/.wine/drive_c/windows/Fonts/
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。