美文网首页
open-vm-tools设置共享文件夹

open-vm-tools设置共享文件夹

作者: ittony | 来源:发表于2017-06-14 09:42 被阅读0次

    1.先卸载之前安装VMware Tools

    /usr/bin/vmware-uninstall-tools.pl

    open-vm-tools rpm包不包含hgfs kernel driver,如需要安装则需要编译open-vm-tools源码或安装新版本的VMware Tools

    需要安装依赖glib2-devel,fuse-devel,gtk2-devel(包括atk-devel,libXcomposite-devel, libXcursor-devel,zlib-devel&libpng-devel,fontconfig-devel&expat-devel,freetype-devel,pixman-devel,cairo-devel(mesa-libEGL-devel&libdrm-devel&libXdamage-devel&libXxf86vm-devel,mesa-libGL-devel&gl-manpages) ,pango-devel ( harfbuzz-devel&libXft-devel&libicu-devel),gdk-pixbuf2-devel),libXdamage-devel

    2. ./configure 

    需要安装xorg-x11-proto-devel,libXau-devel,libxcb-devel,libX11-devel,libXext-devel,libXfixes-devel和libXi-devel,libXrender-devel,libXtst-devel,否则报错The X11 libraries were not found 或libXext not found 或libXi not found 或libXrender not found或libXrandr not found或libXtst not found,可加参数--without-x但不建议

    加参数--enable-deploypkg=no,可避免错误mspack >= 0.0.20040308alpha is required,或安装libmspack和libmspack-devel

    加参数--without-pam,可避免错误Cannot find PAM library,或安装pam-devel

    加参数--without-ssl,可避免错误Cannot find SSL library,或安装openssl-devel

    加参数--disable-multimon,可避免错误libXinerama not found,或安装libXinerama-devel

    3. Run "make" to build Unix userland and kernel Packaging: 

    If you are interested in creating a Tools package, please seehttps://sourceforge.net/apps/mediawiki/open-vm-tools/index.php?title=Packagingfor more information.

    相关文章

      网友评论

          本文标题:open-vm-tools设置共享文件夹

          本文链接:https://www.haomeiwen.com/subject/xdfxdttx.html